[INFO] cloning repository https://github.com/Libadoxon/pseu-rand [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Libadoxon/pseu-rand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLibadoxon%2Fpseu-rand", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLibadoxon%2Fpseu-rand'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d41eba11ba38f4559565931579ad621d6fc3bf18 [INFO] checking Libadoxon/pseu-rand against e7769602aca3770e8d8ea55716becb22e839a579 for pr-161253 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLibadoxon%2Fpseu-rand" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Libadoxon/pseu-rand [INFO] finished tweaking git repo https://github.com/Libadoxon/pseu-rand [INFO] tweaked toml for git repo https://github.com/Libadoxon/pseu-rand written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Libadoxon/pseu-rand on toolchain e7769602aca3770e8d8ea55716becb22e839a579 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Libadoxon/pseu-rand 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" "+e7769602aca3770e8d8ea55716becb22e839a579" "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 bitflags v2.9.3 [INFO] [stderr] Downloaded rand_core v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80 [INFO] running `Command { std: "docker" "start" "e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80" "/opt/rustwide/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80" "/opt/rustwide/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking pseu-rand v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{Rng, SeedableRng, rngs::StdRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{Rng, SeedableRng, rngs::StdRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope [INFO] [stdout] --> src/main.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let rng_num = rng.random_range(0..9); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn random_range(&mut self, range: R) -> T [INFO] [stdout] | ------------ the method is available for `StdRng` 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 `random` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn random(&mut self) -> T [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | StandardUniform: Distribution, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::RngExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope [INFO] [stdout] --> src/main.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | result.push(rng.random_range(32..=126)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn random_range(&mut self, range: R) -> T [INFO] [stdout] | ------------ the method is available for `StdRng` 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 `random` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn random(&mut self) -> T [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | StandardUniform: Distribution, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::RngExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope [INFO] [stdout] --> src/main.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let num = rng.random_range(0..=61); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn random_range(&mut self, range: R) -> T [INFO] [stdout] | ------------ the method is available for `StdRng` 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 `random` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn random(&mut self) -> T [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | StandardUniform: Distribution, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::RngExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pseu-rand` (bin "pseu-rand") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope [INFO] [stdout] --> src/main.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let rng_num = rng.random_range(0..9); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn random_range(&mut self, range: R) -> T [INFO] [stdout] | ------------ the method is available for `StdRng` 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 `random` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn random(&mut self) -> T [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | StandardUniform: Distribution, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::RngExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope [INFO] [stdout] --> src/main.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | result.push(rng.random_range(32..=126)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn random_range(&mut self, range: R) -> T [INFO] [stdout] | ------------ the method is available for `StdRng` 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 `random` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn random(&mut self) -> T [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | StandardUniform: Distribution, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::RngExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope [INFO] [stdout] --> src/main.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let num = rng.random_range(0..=61); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn random_range(&mut self, range: R) -> T [INFO] [stdout] | ------------ the method is available for `StdRng` 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 `random` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.1/src/rng.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn random(&mut self) -> T [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | StandardUniform: Distribution, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::RngExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pseu-rand` (bin "pseu-rand" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80", kill_on_drop: false }` [INFO] [stdout] e7ae78de37b4c2258baabbfca8d0eb76ebecd7752efde9d7fa31606be438fd80