[INFO] fetching crate schroedinger_box 0.0.2... [INFO] checking schroedinger_box-0.0.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate schroedinger_box 0.0.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate schroedinger_box 0.0.2 [INFO] finished tweaking crates.io crate schroedinger_box 0.0.2 [INFO] tweaked toml for crates.io crate schroedinger_box 0.0.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate schroedinger_box 0.0.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 996124f2bb4cded62621bb56579c26e0a056f1021af2a3418dc165705496cb69 [INFO] running `Command { std: "docker" "start" "-a" "996124f2bb4cded62621bb56579c26e0a056f1021af2a3418dc165705496cb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "996124f2bb4cded62621bb56579c26e0a056f1021af2a3418dc165705496cb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "996124f2bb4cded62621bb56579c26e0a056f1021af2a3418dc165705496cb69", kill_on_drop: false }` [INFO] [stdout] 996124f2bb4cded62621bb56579c26e0a056f1021af2a3418dc165705496cb69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9ea46eb1e7d397474af829262feb577f606297798d83adb5db94da7a8b7b33b [INFO] running `Command { std: "docker" "start" "-a" "d9ea46eb1e7d397474af829262feb577f606297798d83adb5db94da7a8b7b33b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking schroedinger_box v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | thread_rng().gen_range(0, len) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | thread_rng().gen_range(0, len) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{integer}: SampleRange<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | thread_rng().gen_range(0, len) [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] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeToInclusive` implements `SampleRange` [INFO] [stdout] `RangeToInclusive` implements `SampleRange` [INFO] [stdout] and 6 others [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.1/src/rng.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 334 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 337 | R: SampleRange, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | thread_rng().gen_range(0, len) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | thread_rng().gen_range(0, len) [INFO] [stdout] | ^^^^^^^^^ --- unexpected argument #2 of type `u64` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.1/src/rng.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 83 - thread_rng().gen_range(0, len) [INFO] [stdout] 83 + thread_rng().gen_range(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | thread_rng().gen_range(0, len) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{integer}: SampleRange<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | thread_rng().gen_range(0, len) [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] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeTo` implements `SampleRange` [INFO] [stdout] `RangeToInclusive` implements `SampleRange` [INFO] [stdout] `RangeToInclusive` implements `SampleRange` [INFO] [stdout] and 6 others [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.1/src/rng.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 334 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 337 | 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/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | thread_rng().gen_range(0, len) [INFO] [stdout] | ^^^^^^^^^ --- unexpected argument #2 of type `u64` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.1/src/rng.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 83 - thread_rng().gen_range(0, len) [INFO] [stdout] 83 + thread_rng().gen_range(0) [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 `schroedinger_box` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `schroedinger_box` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d9ea46eb1e7d397474af829262feb577f606297798d83adb5db94da7a8b7b33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ea46eb1e7d397474af829262feb577f606297798d83adb5db94da7a8b7b33b", kill_on_drop: false }` [INFO] [stdout] d9ea46eb1e7d397474af829262feb577f606297798d83adb5db94da7a8b7b33b