[INFO] fetching crate ordered-pool-allocator 0.1.0... [INFO] testing ordered-pool-allocator-0.1.0 against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] extracting crate ordered-pool-allocator 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate ordered-pool-allocator 0.1.0 on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ordered-pool-allocator 0.1.0 [INFO] finished tweaking crates.io crate ordered-pool-allocator 0.1.0 [INFO] tweaked toml for crates.io crate ordered-pool-allocator 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48ff538de1cade3ee960f426edfdd464e8771cda7c2e60f49c26c9aefc7e6f9f [INFO] running `Command { std: "docker" "start" "-a" "48ff538de1cade3ee960f426edfdd464e8771cda7c2e60f49c26c9aefc7e6f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48ff538de1cade3ee960f426edfdd464e8771cda7c2e60f49c26c9aefc7e6f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ff538de1cade3ee960f426edfdd464e8771cda7c2e60f49c26c9aefc7e6f9f", kill_on_drop: false }` [INFO] [stdout] 48ff538de1cade3ee960f426edfdd464e8771cda7c2e60f49c26c9aefc7e6f9f [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f717c9ecb99b64514eb3b354b531ee365968ba4c7fde13871afb5a0f788c1e28 [INFO] running `Command { std: "docker" "start" "-a" "f717c9ecb99b64514eb3b354b531ee365968ba4c7fde13871afb5a0f788c1e28", kill_on_drop: false }` [INFO] [stderr] Compiling ordered-pool-allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[u8; 8]` will be dropped [INFO] [stdout] --> src/lib.rs:210:56 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { return *block_index.to_le_bytes().as_ptr().cast() } [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `[u8; 8]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `[u8; 8]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `[u8; 8]` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `[u8; 8]` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "f717c9ecb99b64514eb3b354b531ee365968ba4c7fde13871afb5a0f788c1e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f717c9ecb99b64514eb3b354b531ee365968ba4c7fde13871afb5a0f788c1e28", kill_on_drop: false }` [INFO] [stdout] f717c9ecb99b64514eb3b354b531ee365968ba4c7fde13871afb5a0f788c1e28 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f844bcce232c4da98db1689139de015da463a2278efafb32904ab3e8db1c75fc [INFO] running `Command { std: "docker" "start" "-a" "f844bcce232c4da98db1689139de015da463a2278efafb32904ab3e8db1c75fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ordered-pool-allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[u8; 8]` will be dropped [INFO] [stdout] --> src/lib.rs:210:56 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { return *block_index.to_le_bytes().as_ptr().cast() } [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `[u8; 8]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `[u8; 8]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `[u8; 8]` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `[u8; 8]` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[u8; 8]` will be dropped [INFO] [stdout] --> src/lib.rs:210:56 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { return *block_index.to_le_bytes().as_ptr().cast() } [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `[u8; 8]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `[u8; 8]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `[u8; 8]` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `[u8; 8]` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 9.09s [INFO] running `Command { std: "docker" "inspect" "f844bcce232c4da98db1689139de015da463a2278efafb32904ab3e8db1c75fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f844bcce232c4da98db1689139de015da463a2278efafb32904ab3e8db1c75fc", kill_on_drop: false }` [INFO] [stdout] f844bcce232c4da98db1689139de015da463a2278efafb32904ab3e8db1c75fc [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ca8f12f8a0785220b100d85b4fbae3b0e9158de542a56e4c0e5eff1032f7eb9 [INFO] running `Command { std: "docker" "start" "-a" "6ca8f12f8a0785220b100d85b4fbae3b0e9158de542a56e4c0e5eff1032f7eb9", kill_on_drop: false }` [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `[u8; 8]` will be dropped [INFO] [stderr] --> src/lib.rs:210:56 [INFO] [stderr] | [INFO] [stderr] 210 | unsafe { return *block_index.to_le_bytes().as_ptr().cast() } [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `[u8; 8]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `[u8; 8]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: you must make sure that the variable you bind the `[u8; 8]` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `[u8; 8]` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ordered-pool-allocator` (lib) generated 1 warning [INFO] [stderr] warning: `ordered-pool-allocator` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ordered_pool_allocator-f5874967aff9738d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::drop ... ok [INFO] [stdout] test tests::allocate_and_deallocate ... ok [INFO] [stdout] test tests::sort_unstable_by ... ok [INFO] [stdout] test tests::allocate_and_deallocate_at_scale ... ok [INFO] [stderr] Doc-tests ordered_pool_allocator [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6ca8f12f8a0785220b100d85b4fbae3b0e9158de542a56e4c0e5eff1032f7eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca8f12f8a0785220b100d85b4fbae3b0e9158de542a56e4c0e5eff1032f7eb9", kill_on_drop: false }` [INFO] [stdout] 6ca8f12f8a0785220b100d85b4fbae3b0e9158de542a56e4c0e5eff1032f7eb9