[INFO] cloning repository https://github.com/natumn/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natumn/rush" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frush", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frush'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2694e8c475f1ccc4f3101640db36be101d62a13f [INFO] checking natumn/rush against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frush" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/natumn/rush on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/natumn/rush [INFO] finished tweaking git repo https://github.com/natumn/rush [INFO] tweaked toml for git repo https://github.com/natumn/rush written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/natumn/rush already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8f080b8d1a0ea5dacce3b97406fd7c7150b9b105b4d8e30e980c5b7dc14281a [INFO] running `Command { std: "docker" "start" "-a" "c8f080b8d1a0ea5dacce3b97406fd7c7150b9b105b4d8e30e980c5b7dc14281a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8f080b8d1a0ea5dacce3b97406fd7c7150b9b105b4d8e30e980c5b7dc14281a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8f080b8d1a0ea5dacce3b97406fd7c7150b9b105b4d8e30e980c5b7dc14281a", kill_on_drop: false }` [INFO] [stdout] c8f080b8d1a0ea5dacce3b97406fd7c7150b9b105b4d8e30e980c5b7dc14281a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1e15c6281554ae800d53dd5c6018dec4e18db0e89f07e330799238a1c5395df [INFO] running `Command { std: "docker" "start" "-a" "f1e15c6281554ae800d53dd5c6018dec4e18db0e89f07e330799238a1c5395df", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: cannot write into `Stderr` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(io::stderr(), "error: {:?}", err).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/5fee451ebd94296ea05214e819c311e164b30af6/library/std/src/io/mod.rs:1910:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Stderr` here [INFO] [stdout] | [INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(io::stderr(), "error: {:?}", err).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rush` (bin "rush" test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let args = env::args().collect(); [INFO] [stdout] | ^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: FromIterator` found in the `alloc` crate: [INFO] [stdout] - impl FromIterator for Box; [INFO] [stdout] - impl FromIterator for String; [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/5fee451ebd94296ea05214e819c311e164b30af6/library/core/src/iter/traits/iterator.rs:1972:5 [INFO] [stdout] help: consider giving `args` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let args: Vec<_> = env::args().collect(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0599]: cannot write into `Stderr` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(io::stderr(), "error: {:?}", err).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/5fee451ebd94296ea05214e819c311e164b30af6/library/std/src/io/mod.rs:1910:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Stderr` here [INFO] [stdout] | [INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(io::stderr(), "error: {:?}", err).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let args = env::args().collect(); [INFO] [stdout] | ^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: FromIterator` found in the `alloc` crate: [INFO] [stdout] - impl FromIterator for Box; [INFO] [stdout] - impl FromIterator for String; [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/5fee451ebd94296ea05214e819c311e164b30af6/library/core/src/iter/traits/iterator.rs:1972:5 [INFO] [stdout] help: consider giving `args` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let args: Vec<_> = env::args().collect(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rush` (bin "rush") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f1e15c6281554ae800d53dd5c6018dec4e18db0e89f07e330799238a1c5395df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e15c6281554ae800d53dd5c6018dec4e18db0e89f07e330799238a1c5395df", kill_on_drop: false }` [INFO] [stdout] f1e15c6281554ae800d53dd5c6018dec4e18db0e89f07e330799238a1c5395df