[INFO] fetching crate reusable-memory 0.2.1... [INFO] testing reusable-memory-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [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 cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c50ec0c2db4f3b5f06018c08f1010c8cb5481bab0d3b09aa47a17b0fd89f985 [INFO] running `Command { std: "docker" "start" "-a" "9c50ec0c2db4f3b5f06018c08f1010c8cb5481bab0d3b09aa47a17b0fd89f985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c50ec0c2db4f3b5f06018c08f1010c8cb5481bab0d3b09aa47a17b0fd89f985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c50ec0c2db4f3b5f06018c08f1010c8cb5481bab0d3b09aa47a17b0fd89f985", kill_on_drop: false }` [INFO] [stdout] 9c50ec0c2db4f3b5f06018c08f1010c8cb5481bab0d3b09aa47a17b0fd89f985 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fb61a4eccb312c8889ce8b7402bd8ec77c993607df24fad54b74047a3abd6f2 [INFO] running `Command { std: "docker" "start" "-a" "0fb61a4eccb312c8889ce8b7402bd8ec77c993607df24fad54b74047a3abd6f2", 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.18s [INFO] running `Command { std: "docker" "inspect" "0fb61a4eccb312c8889ce8b7402bd8ec77c993607df24fad54b74047a3abd6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fb61a4eccb312c8889ce8b7402bd8ec77c993607df24fad54b74047a3abd6f2", kill_on_drop: false }` [INFO] [stdout] 0fb61a4eccb312c8889ce8b7402bd8ec77c993607df24fad54b74047a3abd6f2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42f29b2c15e1d9e49e8e40d06f7ef5cb8bbba328c70bf3a96604c454b3309f6d [INFO] running `Command { std: "docker" "start" "-a" "42f29b2c15e1d9e49e8e40d06f7ef5cb8bbba328c70bf3a96604c454b3309f6d", 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.48s [INFO] running `Command { std: "docker" "inspect" "42f29b2c15e1d9e49e8e40d06f7ef5cb8bbba328c70bf3a96604c454b3309f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f29b2c15e1d9e49e8e40d06f7ef5cb8bbba328c70bf3a96604c454b3309f6d", kill_on_drop: false }` [INFO] [stdout] 42f29b2c15e1d9e49e8e40d06f7ef5cb8bbba328c70bf3a96604c454b3309f6d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d60c785986e50d9e6a269b522eb7535dc4d208e0a40d73d10c4ea1adb56921cf [INFO] running `Command { std: "docker" "start" "-a" "d60c785986e50d9e6a269b522eb7535dc4d208e0a40d73d10c4ea1adb56921cf", 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.01s [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_three_different_align ... ok [INFO] [stdout] test tests::borrow_two_same_type ... ok [INFO] [stdout] test tests::clear ... ok [INFO] [stdout] test tests::different_align ... ok [INFO] [stdout] test tests::drain ... ok [INFO] [stdout] test tests::drop ... ok [INFO] [stdout] test tests::not_enough_capacity ... ok [INFO] [stdout] test tests::pop ... ok [INFO] [stdout] test tests::push_exact_iter_over_capacity ... 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::push_iter_fill_up_peekable ... ok [INFO] [stdout] test tests::push_iter_over_capacity ... ok [INFO] [stdout] test tests::same_type ... ok [INFO] [stdout] test tests::same_align_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d60c785986e50d9e6a269b522eb7535dc4d208e0a40d73d10c4ea1adb56921cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60c785986e50d9e6a269b522eb7535dc4d208e0a40d73d10c4ea1adb56921cf", kill_on_drop: false }` [INFO] [stdout] d60c785986e50d9e6a269b522eb7535dc4d208e0a40d73d10c4ea1adb56921cf