[INFO] fetching crate reusable-memory 0.2.1... [INFO] testing reusable-memory-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate reusable-memory 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate reusable-memory 0.2.1 [INFO] finished tweaking crates.io crate reusable-memory 0.2.1 [INFO] tweaked toml for crates.io crate reusable-memory 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reusable-memory 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00abff11cd4940482361e58a3018b37140aca0a76d0b55ad21565096d432a976 [INFO] running `Command { std: "docker" "start" "-a" "00abff11cd4940482361e58a3018b37140aca0a76d0b55ad21565096d432a976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00abff11cd4940482361e58a3018b37140aca0a76d0b55ad21565096d432a976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00abff11cd4940482361e58a3018b37140aca0a76d0b55ad21565096d432a976", kill_on_drop: false }` [INFO] [stdout] 00abff11cd4940482361e58a3018b37140aca0a76d0b55ad21565096d432a976 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af73d5cf9e64a238186dd06723510d77d03b8f2d3e9aeff4c5f8bb01988d657c [INFO] running `Command { std: "docker" "start" "-a" "af73d5cf9e64a238186dd06723510d77d03b8f2d3e9aeff4c5f8bb01988d657c", kill_on_drop: false }` [INFO] [stderr] Compiling reusable-memory v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "af73d5cf9e64a238186dd06723510d77d03b8f2d3e9aeff4c5f8bb01988d657c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af73d5cf9e64a238186dd06723510d77d03b8f2d3e9aeff4c5f8bb01988d657c", kill_on_drop: false }` [INFO] [stdout] af73d5cf9e64a238186dd06723510d77d03b8f2d3e9aeff4c5f8bb01988d657c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14eb009d395b0b6700d740b463f2ccdc9029e45a713bd5c42e35c2ed42bd4fa [INFO] running `Command { std: "docker" "start" "-a" "e14eb009d395b0b6700d740b463f2ccdc9029e45a713bd5c42e35c2ed42bd4fa", kill_on_drop: false }` [INFO] [stderr] Compiling reusable-memory v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(DROP_COUNTER, 2); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | assert_eq!(DROP_COUNTER, 0); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:347:16 [INFO] [stdout] | [INFO] [stdout] 347 | assert_eq!(DROP_COUNTER, 2); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(DROP_COUNTER, 0); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "e14eb009d395b0b6700d740b463f2ccdc9029e45a713bd5c42e35c2ed42bd4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14eb009d395b0b6700d740b463f2ccdc9029e45a713bd5c42e35c2ed42bd4fa", kill_on_drop: false }` [INFO] [stdout] e14eb009d395b0b6700d740b463f2ccdc9029e45a713bd5c42e35c2ed42bd4fa [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 260a69b845d0bcd8b9b2ffb3c23ad6c556018bb97d351aa7049e4e715d7d48b7 [INFO] running `Command { std: "docker" "start" "-a" "260a69b845d0bcd8b9b2ffb3c23ad6c556018bb97d351aa7049e4e715d7d48b7", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:304:16 [INFO] [stderr] | [INFO] [stderr] 304 | assert_eq!(DROP_COUNTER, 2); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:310:16 [INFO] [stderr] | [INFO] [stderr] 310 | assert_eq!(DROP_COUNTER, 0); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:347:16 [INFO] [stderr] | [INFO] [stderr] 347 | assert_eq!(DROP_COUNTER, 2); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:352:15 [INFO] [stderr] | [INFO] [stderr] 352 | assert_eq!(DROP_COUNTER, 0); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `reusable-memory` (lib test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reusable_memory-12de237e2ebd640a) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test tests::borrow_two_same_type ... ok [INFO] [stdout] test tests::different_align ... ok [INFO] [stdout] test tests::drain ... ok [INFO] [stdout] test tests::borrow_three_different_align ... ok [INFO] [stdout] test tests::not_enough_capacity ... ok [INFO] [stdout] test tests::pop ... ok [INFO] [stdout] test tests::push_exact_iter ... ok [INFO] [stdout] test tests::push_iter ... ok [INFO] [stdout] test tests::push_iter_fill_up_peekable ... ok [INFO] [stdout] test tests::push_iter_over_capacity ... ok [INFO] [stdout] test tests::drop ... ok [INFO] [stdout] test tests::push_iter_fill_up ... ok [INFO] [stdout] test tests::same_align_type ... ok [INFO] [stdout] test tests::same_type ... ok [INFO] [stdout] test tests::clear ... ok [INFO] [stderr] Doc-tests reusable_memory [INFO] [stdout] test tests::push_exact_iter_over_capacity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/base.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / /// `align_up(base, align)` returns the smallest greater integer than `base` aligned to `align`. [INFO] [stderr] 6 | | /// [INFO] [stderr] 7 | | /// More formally: [INFO] [stderr] 8 | | /// ```norun [INFO] [stderr] ... | [INFO] [stderr] 16 | | /// [INFO] [stderr] 17 | | /// Similar code to `std::alloc::Layout::padding_needed_for`, but without the `- base` [INFO] [stderr] | |______________________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 3) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "260a69b845d0bcd8b9b2ffb3c23ad6c556018bb97d351aa7049e4e715d7d48b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260a69b845d0bcd8b9b2ffb3c23ad6c556018bb97d351aa7049e4e715d7d48b7", kill_on_drop: false }` [INFO] [stdout] 260a69b845d0bcd8b9b2ffb3c23ad6c556018bb97d351aa7049e4e715d7d48b7