[INFO] fetching crate reusable-memory 0.2.1... [INFO] testing reusable-memory-0.2.1 against 1.91.0 for beta-1.92-2 [INFO] extracting crate reusable-memory 0.2.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reusable-memory 0.2.1 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b56145d7b5473bb92383e2d36c33477833892da91b4d84eba16a764f93ca5d4d [INFO] running `Command { std: "docker" "start" "-a" "b56145d7b5473bb92383e2d36c33477833892da91b4d84eba16a764f93ca5d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b56145d7b5473bb92383e2d36c33477833892da91b4d84eba16a764f93ca5d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56145d7b5473bb92383e2d36c33477833892da91b4d84eba16a764f93ca5d4d", kill_on_drop: false }` [INFO] [stdout] b56145d7b5473bb92383e2d36c33477833892da91b4d84eba16a764f93ca5d4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b569438314bc1c5d306ebde80e508dee45c18f3ba0cd799724be5f2efe887609 [INFO] running `Command { std: "docker" "start" "-a" "b569438314bc1c5d306ebde80e508dee45c18f3ba0cd799724be5f2efe887609", 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" "b569438314bc1c5d306ebde80e508dee45c18f3ba0cd799724be5f2efe887609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b569438314bc1c5d306ebde80e508dee45c18f3ba0cd799724be5f2efe887609", kill_on_drop: false }` [INFO] [stdout] b569438314bc1c5d306ebde80e508dee45c18f3ba0cd799724be5f2efe887609 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e27bb637eccdd70672f8ef28fd8221304bf204d7f8377b06a886cf35e23fd566 [INFO] running `Command { std: "docker" "start" "-a" "e27bb637eccdd70672f8ef28fd8221304bf204d7f8377b06a886cf35e23fd566", 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.60s [INFO] running `Command { std: "docker" "inspect" "e27bb637eccdd70672f8ef28fd8221304bf204d7f8377b06a886cf35e23fd566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27bb637eccdd70672f8ef28fd8221304bf204d7f8377b06a886cf35e23fd566", kill_on_drop: false }` [INFO] [stdout] e27bb637eccdd70672f8ef28fd8221304bf204d7f8377b06a886cf35e23fd566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea23f3f62aa721c8e6af9217431479fda38f3d93be7e3c69bcdc750dc104ad54 [INFO] running `Command { std: "docker" "start" "-a" "ea23f3f62aa721c8e6af9217431479fda38f3d93be7e3c69bcdc750dc104ad54", 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-7c2b9b025b67691f) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test tests::borrow_three_different_align ... ok [INFO] [stdout] test tests::borrow_two_same_type ... ok [INFO] [stdout] test tests::drop ... 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 ... ok [INFO] [stdout] test tests::drain ... ok [INFO] [stdout] test tests::same_align_type ... ok [INFO] [stdout] test tests::push_iter_fill_up_peekable ... ok [INFO] [stdout] test tests::different_align ... ok [INFO] [stdout] test tests::same_type ... ok [INFO] [stdout] test tests::push_exact_iter_over_capacity ... ok [INFO] [stdout] test tests::not_enough_capacity ... ok [INFO] [stdout] test tests::push_iter_over_capacity ... 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.02s [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.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ea23f3f62aa721c8e6af9217431479fda38f3d93be7e3c69bcdc750dc104ad54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea23f3f62aa721c8e6af9217431479fda38f3d93be7e3c69bcdc750dc104ad54", kill_on_drop: false }` [INFO] [stdout] ea23f3f62aa721c8e6af9217431479fda38f3d93be7e3c69bcdc750dc104ad54