[INFO] fetching crate buffer_sv2 2.0.0... [INFO] checking buffer_sv2-2.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate buffer_sv2 2.0.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate buffer_sv2 2.0.0 [INFO] finished tweaking crates.io crate buffer_sv2 2.0.0 [INFO] tweaked toml for crates.io crate buffer_sv2 2.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate buffer_sv2 2.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate buffer_sv2 2.0.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb869e0004cd2f5364532d6b14bdd126955190c5117f25ed381ae513418febda [INFO] running `Command { std: "docker" "start" "-a" "cb869e0004cd2f5364532d6b14bdd126955190c5117f25ed381ae513418febda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb869e0004cd2f5364532d6b14bdd126955190c5117f25ed381ae513418febda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb869e0004cd2f5364532d6b14bdd126955190c5117f25ed381ae513418febda", kill_on_drop: false }` [INFO] [stdout] cb869e0004cd2f5364532d6b14bdd126955190c5117f25ed381ae513418febda [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaeb05f7e166b959f63b36a41aed94abda08593e37267ef255ff98310a10ffc9 [INFO] running `Command { std: "docker" "start" "-a" "aaeb05f7e166b959f63b36a41aed94abda08593e37267ef255ff98310a10ffc9", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking buffer_sv2 v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] error: couldn't read `benches/../fuzz/random`: No such file or directory (os error 2) [INFO] [stdout] --> benches/control_struct.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DATA: &[u8; FILE_LEN] = include_bytes!("../fuzz/random"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../fuzz/random`: No such file or directory (os error 2) [INFO] [stdout] --> benches/control_struct.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DATA: &[u8; FILE_LEN] = include_bytes!("../fuzz/random"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../fuzz/random`: No such file or directory (os error 2) [INFO] [stdout] --> benches/control_struct.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DATA: &[u8; FILE_LEN] = include_bytes!("../fuzz/random"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/pool_benchmark.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::sync::atomic::Ordering` [INFO] [stdout] --> benches/pool_benchmark.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Load`, `MaxESlice`, and `SSlice` [INFO] [stdout] --> benches/pool_benchmark.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | add_random_bytes, bench_no_thread, keep_slice, Load, MaxESlice, MaxEfficeincy, PPool, SSlice, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `pool_benchmark` [INFO] [stdout] --> benches/pool_benchmark.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | criterion_main!(benches); [INFO] [stdout] | ^ consider adding a `main` function to `benches/pool_benchmark.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_data_by_ref_`, `danger_set_start`, `is_droppable` [INFO] [stdout] --> benches/control_struct.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl Buffer for PPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ missing `get_data_by_ref_`, `danger_set_start`, `is_droppable` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn get_data_by_ref_(&self, _: usize) -> &[u8] { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn danger_set_start(&mut self, _: usize) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn is_droppable(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_data_by_ref_`, `danger_set_start`, `is_droppable` [INFO] [stdout] --> benches/control_struct.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | impl Buffer for MaxEfficeincy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_data_by_ref_`, `danger_set_start`, `is_droppable` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn get_data_by_ref_(&self, _: usize) -> &[u8] { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn danger_set_start(&mut self, _: usize) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn is_droppable(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_data_by_ref_`, `danger_set_start`, `is_droppable` [INFO] [stdout] --> benches/control_struct.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl Buffer for PPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ missing `get_data_by_ref_`, `danger_set_start`, `is_droppable` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn get_data_by_ref_(&self, _: usize) -> &[u8] { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn danger_set_start(&mut self, _: usize) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn is_droppable(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_data_by_ref_`, `danger_set_start`, `is_droppable` [INFO] [stdout] --> benches/control_struct.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | impl Buffer for MaxEfficeincy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_data_by_ref_`, `danger_set_start`, `is_droppable` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn get_data_by_ref_(&self, _: usize) -> &[u8] { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn danger_set_start(&mut self, _: usize) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn is_droppable(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_data_by_ref_`, `danger_set_start`, `is_droppable` [INFO] [stdout] --> benches/control_struct.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl Buffer for PPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ missing `get_data_by_ref_`, `danger_set_start`, `is_droppable` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn get_data_by_ref_(&self, _: usize) -> &[u8] { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn danger_set_start(&mut self, _: usize) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn is_droppable(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_data_by_ref_`, `danger_set_start`, `is_droppable` [INFO] [stdout] --> benches/control_struct.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | impl Buffer for MaxEfficeincy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_data_by_ref_`, `danger_set_start`, `is_droppable` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn get_data_by_ref_(&self, _: usize) -> &[u8] { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn danger_set_start(&mut self, _: usize) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn is_droppable(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `buffer_sv2` (bench "control_struct") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `buffer_sv2` (bench "pool_iai") due to 3 previous errors [INFO] [stderr] error: could not compile `buffer_sv2` (bench "pool_benchmark") due to 5 previous errors; 3 warnings emitted [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> benches/pool_benchmark.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let i = slice.index; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aaeb05f7e166b959f63b36a41aed94abda08593e37267ef255ff98310a10ffc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaeb05f7e166b959f63b36a41aed94abda08593e37267ef255ff98310a10ffc9", kill_on_drop: false }` [INFO] [stdout] aaeb05f7e166b959f63b36a41aed94abda08593e37267ef255ff98310a10ffc9