[INFO] fetching crate reusable-memory 0.2.1... [INFO] testing reusable-memory-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate reusable-memory 0.2.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reusable-memory 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd63d555cecadc3903f04e80f44c1f74d50ce777f1236b5a90a7b2289795453b [INFO] running `Command { std: "docker" "start" "-a" "bd63d555cecadc3903f04e80f44c1f74d50ce777f1236b5a90a7b2289795453b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd63d555cecadc3903f04e80f44c1f74d50ce777f1236b5a90a7b2289795453b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd63d555cecadc3903f04e80f44c1f74d50ce777f1236b5a90a7b2289795453b", kill_on_drop: false }` [INFO] [stdout] bd63d555cecadc3903f04e80f44c1f74d50ce777f1236b5a90a7b2289795453b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1a8f56680e8017e6e138b86ee6cd829bbe4956291ac5f59cd2ac2108e3faa96 [INFO] running `Command { std: "docker" "start" "-a" "c1a8f56680e8017e6e138b86ee6cd829bbe4956291ac5f59cd2ac2108e3faa96", 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.33s [INFO] running `Command { std: "docker" "inspect" "c1a8f56680e8017e6e138b86ee6cd829bbe4956291ac5f59cd2ac2108e3faa96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a8f56680e8017e6e138b86ee6cd829bbe4956291ac5f59cd2ac2108e3faa96", kill_on_drop: false }` [INFO] [stdout] c1a8f56680e8017e6e138b86ee6cd829bbe4956291ac5f59cd2ac2108e3faa96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2deaff07ab19a503da4318f9459767828de98f3f6afaf30a4aaf0f7e28ff3839 [INFO] running `Command { std: "docker" "start" "-a" "2deaff07ab19a503da4318f9459767828de98f3f6afaf30a4aaf0f7e28ff3839", 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.59s [INFO] running `Command { std: "docker" "inspect" "2deaff07ab19a503da4318f9459767828de98f3f6afaf30a4aaf0f7e28ff3839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2deaff07ab19a503da4318f9459767828de98f3f6afaf30a4aaf0f7e28ff3839", kill_on_drop: false }` [INFO] [stdout] 2deaff07ab19a503da4318f9459767828de98f3f6afaf30a4aaf0f7e28ff3839 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e7a1a9aa8d83493b379e4dc7d2310de4a49e5bf024e3722cc0a5fc59764ac7c [INFO] running `Command { std: "docker" "start" "-a" "2e7a1a9aa8d83493b379e4dc7d2310de4a49e5bf024e3722cc0a5fc59764ac7c", 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.08s [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::different_align ... ok [INFO] [stdout] test tests::drain ... ok [INFO] [stdout] test tests::pop ... ok [INFO] [stdout] test tests::push_exact_iter ... ok [INFO] [stdout] test tests::push_exact_iter_over_capacity ... ok [INFO] [stdout] test tests::push_iter ... ok [INFO] [stdout] test tests::push_iter_fill_up ... ok [INFO] [stdout] test tests::push_iter_fill_up_peekable ... ok [INFO] [stdout] test tests::push_iter_over_capacity ... ok [INFO] [stdout] test tests::same_align_type ... ok [INFO] [stdout] test tests::same_type ... ok [INFO] [stdout] test tests::not_enough_capacity ... ok [INFO] [stdout] test tests::borrow_two_same_type ... ok [INFO] [stdout] test tests::drop ... ok [INFO] [stdout] test tests::borrow_three_different_align ... ok [INFO] [stdout] test tests::clear ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests reusable_memory [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.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e7a1a9aa8d83493b379e4dc7d2310de4a49e5bf024e3722cc0a5fc59764ac7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e7a1a9aa8d83493b379e4dc7d2310de4a49e5bf024e3722cc0a5fc59764ac7c", kill_on_drop: false }` [INFO] [stdout] 2e7a1a9aa8d83493b379e4dc7d2310de4a49e5bf024e3722cc0a5fc59764ac7c