[INFO] cloning repository https://github.com/cauafroes/rust-rand-cpf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cauafroes/rust-rand-cpf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauafroes%2Frust-rand-cpf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauafroes%2Frust-rand-cpf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3aa25504e1926fb163918db8fff4ade237c41d87 [INFO] checking cauafroes/rust-rand-cpf against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauafroes%2Frust-rand-cpf" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cauafroes/rust-rand-cpf [INFO] finished tweaking git repo https://github.com/cauafroes/rust-rand-cpf [INFO] tweaked toml for git repo https://github.com/cauafroes/rust-rand-cpf written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cauafroes/rust-rand-cpf on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cauafroes/rust-rand-cpf 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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v4.5.0 [INFO] [stderr] Downloaded clap v4.5.0 [INFO] [stderr] Downloaded clap_builder v4.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a59b77cbcd7ab0b8cb77b4c7f0abc3e020582a7798f3661d1ee254b4fca04946 [INFO] running `Command { std: "docker" "start" "-a" "a59b77cbcd7ab0b8cb77b4c7f0abc3e020582a7798f3661d1ee254b4fca04946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a59b77cbcd7ab0b8cb77b4c7f0abc3e020582a7798f3661d1ee254b4fca04946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a59b77cbcd7ab0b8cb77b4c7f0abc3e020582a7798f3661d1ee254b4fca04946", kill_on_drop: false }` [INFO] [stdout] a59b77cbcd7ab0b8cb77b4c7f0abc3e020582a7798f3661d1ee254b4fca04946 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a96f77391213de832f2a463bcdcc3fd305f142f1fde562b8ebe83c2235da934 [INFO] running `Command { std: "docker" "start" "-a" "5a96f77391213de832f2a463bcdcc3fd305f142f1fde562b8ebe83c2235da934", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Checking cpfgenargs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | let mut vals: Vec = (0..9).map(|_| rng.gen_range(0..9)).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `gen_ratio` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | fn gen_ratio(&mut self, numerator: u32, denominator: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | let mut vals: Vec = (0..9).map(|_| rng.gen_range(0..9)).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `gen_ratio` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | fn gen_ratio(&mut self, numerator: u32, denominator: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cpfgenargs` (bin "cpfgenargs" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cpfgenargs` (bin "cpfgenargs") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "5a96f77391213de832f2a463bcdcc3fd305f142f1fde562b8ebe83c2235da934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a96f77391213de832f2a463bcdcc3fd305f142f1fde562b8ebe83c2235da934", kill_on_drop: false }` [INFO] [stdout] 5a96f77391213de832f2a463bcdcc3fd305f142f1fde562b8ebe83c2235da934