[INFO] fetching crate sp-allocator 3.0.0... [INFO] testing sp-allocator-3.0.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate sp-allocator 3.0.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate sp-allocator 3.0.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-allocator 3.0.0 [INFO] finished tweaking crates.io crate sp-allocator 3.0.0 [INFO] tweaked toml for crates.io crate sp-allocator 3.0.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc8e726e8d692542df1ec0d482733f71fa5de5b4d2542237122b2decbf0e4e43 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cc8e726e8d692542df1ec0d482733f71fa5de5b4d2542237122b2decbf0e4e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc8e726e8d692542df1ec0d482733f71fa5de5b4d2542237122b2decbf0e4e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8e726e8d692542df1ec0d482733f71fa5de5b4d2542237122b2decbf0e4e43", kill_on_drop: false }` [INFO] [stdout] cc8e726e8d692542df1ec0d482733f71fa5de5b4d2542237122b2decbf0e4e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 49650f54a95d41bf9c5fb005fd2be9b83988ad3b491e8a68a6fd968df2fc3cae [INFO] running `Command { std: "docker" "start" "-a" "49650f54a95d41bf9c5fb005fd2be9b83988ad3b491e8a68a6fd968df2fc3cae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.4 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling sp-allocator v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/freeing_bump.rs:476:3 [INFO] [stdout] | [INFO] [stdout] 476 | &mut self[range].copy_from_slice(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 476 | let _ = &mut self[range].copy_from_slice(&bytes[..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 14s [INFO] running `Command { std: "docker" "inspect" "49650f54a95d41bf9c5fb005fd2be9b83988ad3b491e8a68a6fd968df2fc3cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49650f54a95d41bf9c5fb005fd2be9b83988ad3b491e8a68a6fd968df2fc3cae", kill_on_drop: false }` [INFO] [stdout] 49650f54a95d41bf9c5fb005fd2be9b83988ad3b491e8a68a6fd968df2fc3cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5bbe2d8c7a2b07cc4be5f4b01d8d1288703584a6dd63f52417852bed4026752 [INFO] running `Command { std: "docker" "start" "-a" "f5bbe2d8c7a2b07cc4be5f4b01d8d1288703584a6dd63f52417852bed4026752", kill_on_drop: false }` [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/freeing_bump.rs:476:3 [INFO] [stdout] | [INFO] [stdout] 476 | &mut self[range].copy_from_slice(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 476 | let _ = &mut self[range].copy_from_slice(&bytes[..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sp-allocator v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/freeing_bump.rs:476:3 [INFO] [stdout] | [INFO] [stdout] 476 | &mut self[range].copy_from_slice(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 476 | let _ = &mut self[range].copy_from_slice(&bytes[..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.66s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f5bbe2d8c7a2b07cc4be5f4b01d8d1288703584a6dd63f52417852bed4026752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5bbe2d8c7a2b07cc4be5f4b01d8d1288703584a6dd63f52417852bed4026752", kill_on_drop: false }` [INFO] [stdout] f5bbe2d8c7a2b07cc4be5f4b01d8d1288703584a6dd63f52417852bed4026752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b4e30807111776c67e8768e765fdb079b87cced174518737316bb8aa9d4db16 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3b4e30807111776c67e8768e765fdb079b87cced174518737316bb8aa9d4db16", kill_on_drop: false }` [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/freeing_bump.rs:476:3 [INFO] [stderr] | [INFO] [stderr] 476 | &mut self[range].copy_from_slice(&bytes[..]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 476 | let _ = &mut self[range].copy_from_slice(&bytes[..]); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `sp-allocator` (lib) generated 1 warning [INFO] [stderr] warning: `sp-allocator` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sp_allocator-5a2aec6f7d035bc8) [INFO] [stdout] running 20 tests [INFO] [stdout] test freeing_bump::tests::header_read_write ... ok [INFO] [stdout] test freeing_bump::tests::deallocate_needs_to_maintain_linked_list ... ok [INFO] [stdout] test freeing_bump::tests::should_allocate_max_possible_allocation_size ... ok [INFO] [stdout] test freeing_bump::tests::should_deallocate_and_reallocate_properly ... ok [INFO] [stdout] test freeing_bump::tests::should_build_linked_list_of_free_areas_properly ... ok [INFO] [stdout] test freeing_bump::tests::should_calculate_total_size_of_zero ... ok [INFO] [stdout] test freeing_bump::tests::should_calculate_total_heap_size_to_zero ... ok [INFO] [stdout] test freeing_bump::tests::poison_oom ... ok [INFO] [stdout] test freeing_bump::tests::should_not_allocate_if_requested_size_too_large ... ok [INFO] [stdout] test freeing_bump::tests::should_increment_pointers_properly ... ok [INFO] [stdout] test freeing_bump::tests::should_not_allocate_if_full ... ok [INFO] [stdout] test freeing_bump::tests::should_not_allocate_if_too_large ... ok [INFO] [stdout] test freeing_bump::tests::should_get_item_size_from_order ... ok [INFO] [stdout] test freeing_bump::tests::should_read_and_write_u64_correctly ... ok [INFO] [stdout] test freeing_bump::tests::should_get_max_item_size_from_index ... ok [INFO] [stdout] test freeing_bump::tests::should_always_align_pointers_to_multiples_of_8 ... ok [INFO] [stdout] test freeing_bump::tests::should_include_prefixes_in_total_heap_size ... ok [INFO] [stdout] test freeing_bump::tests::should_return_error_when_bumper_greater_than_heap_size ... ok [INFO] [stdout] test freeing_bump::tests::should_allocate_properly ... ok [INFO] [stdout] test freeing_bump::tests::should_free_properly ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests sp-allocator [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/freeing_bump.rs - freeing_bump (line 22) ... ignored [INFO] [stdout] test src/freeing_bump.rs - freeing_bump::Header (line 196) ... ignored [INFO] [stdout] test src/freeing_bump.rs - freeing_bump::Header (line 204) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3b4e30807111776c67e8768e765fdb079b87cced174518737316bb8aa9d4db16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4e30807111776c67e8768e765fdb079b87cced174518737316bb8aa9d4db16", kill_on_drop: false }` [INFO] [stdout] 3b4e30807111776c67e8768e765fdb079b87cced174518737316bb8aa9d4db16