-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: no such subcommand: cargo
#357
Comments
Can you try installing cross from the master branch and see if it still behaves in the same way?
|
Didn't seem to help, appears to have the same exact behavior (just now with |
This issue is blocking CI for hashbrown. |
Also seeing the same behavior |
Could it be that |
https://github.com/rust-lang/rust/blob/master/src/libstd/sys/unix/process/process_common.rs#L376
we’d be `unix` for both macOS and whichever flavor of Linux Travis runs if
i’m not mistaken
…On Fri, Dec 6, 2019 at 22:06 Markus Reiter ***@***.***> wrote:
Could it be that Debug for Command is platform specific?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#357>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWKUU5GWYI37MW6L67FH63QXMHKHANCNFSM4JVNLSGA>
.
|
Interestingly enough, `Command` sets the program as the first value in `args` (which
is fine), and then `Debug`s with both `program` and `args`, as seen here:
https://github.com/rust-lang/rust/blob/master/src/libstd/sys/unix/process/process_common.rs#L135
…On Fri, Dec 6, 2019 at 22:12 Ilya Ostrovskiy ***@***.***> wrote:
https://github.com/rust-lang/rust/blob/master/src/libstd/sys/unix/process/process_common.rs#L376
we’d be `unix` for both macOS and whichever flavor of Linux Travis runs if
i’m not mistaken
On Fri, Dec 6, 2019 at 22:06 Markus Reiter ***@***.***>
wrote:
> Could it be that Debug for Command is platform specific?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#357>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAWKUU5GWYI37MW6L67FH63QXMHKHANCNFSM4JVNLSGA>
> .
>
|
Which appears to have changed 19 days ago (ignoring the "run rustfmt commit"): rust-lang/rust@6dee1a5#diff-1d80df5045655b492de85da768fbcab7L135-L150 |
I guess the real issue here is depending on the |
Yeah, we should use something like https://crates.io/crates/shell-escape instead. |
Looks like the old japaric images are bunk. We update our docker image to be based on the new rustembedded images and configure cross to use it. Turns out that this wasn't due to a stale docker image, but rather, a bug in cross: cross-rs/cross#357 We work around that bug by installing the master branch of cross. Sigh.
Looks like the old japaric images are bunk. We update our docker image to be based on the new rustembedded images and configure cross to use it. Turns out that this wasn't due to a stale docker image, but rather, a bug in cross: cross-rs/cross#357 We work around that bug by installing the master branch of cross. Sigh.
Hi!
I'm trying to run some cross jobs in Travis using
nightly
. Versions are as follows:When running a relatively simple
cross build --target armv7-unknown-linux-gnueabihf
, I get the following output. This behavior occurs regardless of my actual target:$ cross build --target armv7-unknown-linux-gnueabihf error: no such subcommand: `cargo`
Going
--verbose
, I get the following:Note that while I am using a custom Docker image, the same behavior occurs even with the default images.
My
Cross.toml
is as follows:It seems like it's adding the command its running as an additional argument to itself, at least according to the logs. Running this on my local machine (macOS Mojave 10.14.6), I don't see this "doubling" behavior. My local machine is running the same version of
cross
as my Travis build.I'm kinda stumped -- I don't see anything in the code that's immediately obvious as a bug/regression or assumption about the running environment that Travis might be violating. Any ideas?
The text was updated successfully, but these errors were encountered: