[INFO] cloning repository https://github.com/joelparkerhenderson/demo_rust_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelparkerhenderson/demo_rust_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo_rust_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo_rust_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f891ae12d6ddae139b5d52d354b6428752ac0d93 [INFO] testing joelparkerhenderson/demo_rust_code against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo_rust_code" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joelparkerhenderson/demo_rust_code [INFO] finished tweaking git repo https://github.com/joelparkerhenderson/demo_rust_code [INFO] tweaked toml for git repo https://github.com/joelparkerhenderson/demo_rust_code written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joelparkerhenderson/demo_rust_code on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joelparkerhenderson/demo_rust_code 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcf62b2155474d2469b289d8ec4a4ea4f5fd9fb3f8fd3f29ff0a5b883cdeaeec [INFO] running `Command { std: "docker" "start" "-a" "bcf62b2155474d2469b289d8ec4a4ea4f5fd9fb3f8fd3f29ff0a5b883cdeaeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcf62b2155474d2469b289d8ec4a4ea4f5fd9fb3f8fd3f29ff0a5b883cdeaeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf62b2155474d2469b289d8ec4a4ea4f5fd9fb3f8fd3f29ff0a5b883cdeaeec", kill_on_drop: false }` [INFO] [stdout] bcf62b2155474d2469b289d8ec4a4ea4f5fd9fb3f8fd3f29ff0a5b883cdeaeec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d091a08728cc01d211103d3661d29be2ee09924d279ca8137c989f54d9e89b6a [INFO] running `Command { std: "docker" "start" "-a" "d091a08728cc01d211103d3661d29be2ee09924d279ca8137c989f54d9e89b6a", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.80 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling demo-rust-code v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | error_chain! { } // This is an error-chain macro that creates types. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{integer}: SampleRange<_>` is not satisfied [INFO] [stdout] --> src/main.rs:325:42 [INFO] [stdout] | [INFO] [stdout] 325 | let r = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] | --------- ^ the trait `SampleRange<_>` is not implemented for `{integer}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `SampleRange` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/uniform.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl SampleRange for Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::Range` [INFO] [stdout] ... [INFO] [stdout] 369 | impl SampleRange for RangeInclusive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::RangeInclusive` [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 132 | R: SampleRange [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:325:32 [INFO] [stdout] | [INFO] [stdout] 325 | let r = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] | ^^^^^^^^^ --- unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 325 - let r = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] 325 + let r = rand::thread_rng().gen_range(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `demo-rust-code` (bin "demo-rust-code") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d091a08728cc01d211103d3661d29be2ee09924d279ca8137c989f54d9e89b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d091a08728cc01d211103d3661d29be2ee09924d279ca8137c989f54d9e89b6a", kill_on_drop: false }` [INFO] [stdout] d091a08728cc01d211103d3661d29be2ee09924d279ca8137c989f54d9e89b6a