[INFO] fetching crate quickring 0.1.0... [INFO] testing quickring-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate quickring 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate quickring 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate quickring 0.1.0 [INFO] tweaked toml for crates.io crate quickring 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quickring 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate quickring 0.1.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ringbuf v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 093a9a4e0728473f3f4e31095b2a4c97314b9217b2b45dedb732a8d333b5c75d [INFO] running `Command { std: "docker" "start" "-a" "093a9a4e0728473f3f4e31095b2a4c97314b9217b2b45dedb732a8d333b5c75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "093a9a4e0728473f3f4e31095b2a4c97314b9217b2b45dedb732a8d333b5c75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093a9a4e0728473f3f4e31095b2a4c97314b9217b2b45dedb732a8d333b5c75d", kill_on_drop: false }` [INFO] [stdout] 093a9a4e0728473f3f4e31095b2a4c97314b9217b2b45dedb732a8d333b5c75d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f7fd5edcd9c17edd69ce54bb48edc1b576def73f6052408a462941d0504af1a [INFO] running `Command { std: "docker" "start" "-a" "7f7fd5edcd9c17edd69ce54bb48edc1b576def73f6052408a462941d0504af1a", kill_on_drop: false }` [INFO] [stderr] Compiling quickring v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "7f7fd5edcd9c17edd69ce54bb48edc1b576def73f6052408a462941d0504af1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7fd5edcd9c17edd69ce54bb48edc1b576def73f6052408a462941d0504af1a", kill_on_drop: false }` [INFO] [stdout] 7f7fd5edcd9c17edd69ce54bb48edc1b576def73f6052408a462941d0504af1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e221f7bc620de5bdc165458e2d362f56e738a2d045717c5d65d76b7566cefee [INFO] running `Command { std: "docker" "start" "-a" "5e221f7bc620de5bdc165458e2d362f56e738a2d045717c5d65d76b7566cefee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ringbuf v0.4.8 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling quickring v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/comparison.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut sum = 0_usize; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> examples/comparison.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut sum = 0_usize; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_ringbuf` is never used [INFO] [stdout] --> examples/comparison.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn bench_ringbuf() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/udp.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 86 | / loop { [INFO] [stdout] 87 | | if let Some(packet) = cons.pop() { [INFO] [stdout] 88 | | let text = String::from_utf8_lossy(&packet); [INFO] [stdout] 89 | | print!("Client got: {}", text); [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 94 | [INFO] [stdout] 95 | let _ = recv_thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | use std::time::Instant; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/lib.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | use std::fmt::Display; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> src/lib.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | use std::thread; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv_thread` [INFO] [stdout] --> examples/udp.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let recv_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recv_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | println!(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | println!("================= SPSC BENCH ================="); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | println!("iters: {ITERS}"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | println!("capacity: {CAP}"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | println!("---------------------------------------------"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | println!("Your RingBuffer : {:?}", ours); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | println!("ringbuf HeapRb : {:?}", ringbuf); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | println!("Speed ratio (ringbuf / yours): {:.2}x", ratio); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | println!("============================================="); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | println!("Time for {OPERATIONS} writes: {:?}", start.elapsed()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | println!("Time for {OPERATIONS} reads: {:?}", start.elapsed()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `fmt` in this scope [INFO] [stdout] --> src/lib.rs:508:35 [INFO] [stdout] | [INFO] [stdout] 508 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 309 + use crate::tests::alloc::fmt; [INFO] [stdout] | [INFO] [stdout] 309 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 309 + use alloc::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `fmt` in this scope [INFO] [stdout] --> src/lib.rs:508:58 [INFO] [stdout] | [INFO] [stdout] 508 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 309 + use crate::tests::alloc::fmt; [INFO] [stdout] | [INFO] [stdout] 309 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 309 + use alloc::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quickring` (lib test) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5e221f7bc620de5bdc165458e2d362f56e738a2d045717c5d65d76b7566cefee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e221f7bc620de5bdc165458e2d362f56e738a2d045717c5d65d76b7566cefee", kill_on_drop: false }` [INFO] [stdout] 5e221f7bc620de5bdc165458e2d362f56e738a2d045717c5d65d76b7566cefee