[INFO] fetching crate jupnet_rbpf 0.8.5-jupnet.1... [INFO] checking jupnet_rbpf-0.8.5-jupnet.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate jupnet_rbpf 0.8.5-jupnet.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate jupnet_rbpf 0.8.5-jupnet.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jupnet_rbpf 0.8.5-jupnet.1 [INFO] tweaked toml for crates.io crate jupnet_rbpf 0.8.5-jupnet.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jupnet_rbpf 0.8.5-jupnet.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jupnet_rbpf 0.8.5-jupnet.1 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44c6c22f922cc8cf8b9600962f444e001f16618f0db72d0b95cc998a439cb173 [INFO] running `Command { std: "docker" "start" "-a" "44c6c22f922cc8cf8b9600962f444e001f16618f0db72d0b95cc998a439cb173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44c6c22f922cc8cf8b9600962f444e001f16618f0db72d0b95cc998a439cb173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c6c22f922cc8cf8b9600962f444e001f16618f0db72d0b95cc998a439cb173", kill_on_drop: false }` [INFO] [stdout] 44c6c22f922cc8cf8b9600962f444e001f16618f0db72d0b95cc998a439cb173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e73c31f0424b486a378d1ddea4a2e630fb6c6e12acc04752c5e09e982f5c0265 [INFO] running `Command { std: "docker" "start" "-a" "e73c31f0424b486a378d1ddea4a2e630fb6c6e12acc04752c5e09e982f5c0265", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking elf v0.0.10 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking jupnet_rbpf v0.8.5-jupnet.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/elf.rs:1210:16 [INFO] [stdout] | [INFO] [stdout] 1210 | use rand::{distributions::Uniform, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/elf.rs:1212:9 [INFO] [stdout] | [INFO] [stdout] 1212 | use test_utils::assert_error; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/memory_region.rs:964:9 [INFO] [stdout] | [INFO] [stdout] 964 | use test_utils::assert_error; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SECTION_NAME_LENGTH_MAXIMUM` [INFO] [stdout] --> src/elf.rs:1202:13 [INFO] [stdout] | [INFO] [stdout] 1202 | SECTION_NAME_LENGTH_MAXIMUM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> src/jit.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | 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/jit.rs:361:58 [INFO] [stdout] | [INFO] [stdout] 361 | let mut diversification_rng = SmallRng::from_rng(thread_rng()).map_err(|_| EbpfError::JitNotCompiled)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> src/elf.rs:1374:29 [INFO] [stdout] | [INFO] [stdout] 1374 | let mut rng = rand::thread_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/jit.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> src/jit.rs:361:58 [INFO] [stdout] | [INFO] [stdout] 361 | let mut diversification_rng = SmallRng::from_rng(thread_rng()).map_err(|_| EbpfError::JitNotCompiled)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/jit.rs:361:58 [INFO] [stdout] | [INFO] [stdout] 361 | let mut diversification_rng = SmallRng::from_rng(thread_rng()).map_err(|_| EbpfError::JitNotCompiled)?; [INFO] [stdout] | ------------------ ^^^^^^^^^^^^ expected `&mut _`, found `ThreadRng` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `ThreadRng` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 361 | let mut diversification_rng = SmallRng::from_rng(&mut thread_rng()).map_err(|_| EbpfError::JitNotCompiled)?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for struct `SmallRng` in the current scope [INFO] [stdout] --> src/jit.rs:361:72 [INFO] [stdout] | [INFO] [stdout] 361 | let mut diversification_rng = SmallRng::from_rng(thread_rng()).map_err(|_| EbpfError::JitNotCompiled)?; [INFO] [stdout] | ^^^^^^^ method not found in `SmallRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/jit.rs:387:50 [INFO] [stdout] | [INFO] [stdout] 387 | for _ in 0..self.diversification_rng.gen_range(0..MAX_START_PADDING_LENGTH) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/jit.rs:789:65 [INFO] [stdout] | [INFO] [stdout] 789 | self.next_noop_insertion = self.diversification_rng.gen_range(0..self.config.noop_instruction_rate * 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/jit.rs:801:52 [INFO] [stdout] | [INFO] [stdout] 801 | let key = self.diversification_rng.gen::() as i64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/jit.rs:806:52 [INFO] [stdout] | [INFO] [stdout] 806 | let key = self.diversification_rng.gen::() as i64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/jit.rs:811:52 [INFO] [stdout] | [INFO] [stdout] 811 | let key = self.diversification_rng.gen::() as i64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/jit.rs:817:52 [INFO] [stdout] | [INFO] [stdout] 817 | let key = self.diversification_rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/jit.rs:361:58 [INFO] [stdout] | [INFO] [stdout] 361 | let mut diversification_rng = SmallRng::from_rng(thread_rng()).map_err(|_| EbpfError::JitNotCompiled)?; [INFO] [stdout] | ------------------ ^^^^^^^^^^^^ expected `&mut _`, found `ThreadRng` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `ThreadRng` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 361 | let mut diversification_rng = SmallRng::from_rng(&mut thread_rng()).map_err(|_| EbpfError::JitNotCompiled)?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for struct `SmallRng` in the current scope [INFO] [stdout] --> src/jit.rs:361:72 [INFO] [stdout] | [INFO] [stdout] 361 | let mut diversification_rng = SmallRng::from_rng(thread_rng()).map_err(|_| EbpfError::JitNotCompiled)?; [INFO] [stdout] | ^^^^^^^ method not found in `SmallRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/jit.rs:387:50 [INFO] [stdout] | [INFO] [stdout] 387 | for _ in 0..self.diversification_rng.gen_range(0..MAX_START_PADDING_LENGTH) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/jit.rs:789:65 [INFO] [stdout] | [INFO] [stdout] 789 | self.next_noop_insertion = self.diversification_rng.gen_range(0..self.config.noop_instruction_rate * 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/jit.rs:801:52 [INFO] [stdout] | [INFO] [stdout] 801 | let key = self.diversification_rng.gen::() as i64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/jit.rs:806:52 [INFO] [stdout] | [INFO] [stdout] 806 | let key = self.diversification_rng.gen::() as i64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/jit.rs:811:52 [INFO] [stdout] | [INFO] [stdout] 811 | let key = self.diversification_rng.gen::() as i64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/jit.rs:817:52 [INFO] [stdout] | [INFO] [stdout] 817 | let key = self.diversification_rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jupnet_rbpf` (lib) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jupnet_rbpf` (lib test) due to 5 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e73c31f0424b486a378d1ddea4a2e630fb6c6e12acc04752c5e09e982f5c0265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e73c31f0424b486a378d1ddea4a2e630fb6c6e12acc04752c5e09e982f5c0265", kill_on_drop: false }` [INFO] [stdout] e73c31f0424b486a378d1ddea4a2e630fb6c6e12acc04752c5e09e982f5c0265