[INFO] fetching crate ic-stable-memory 0.2.3... [INFO] building ic-stable-memory-0.2.3 against master#87788097b776f8e3662f76627944230684b671bd for pr-101591 [INFO] extracting crate ic-stable-memory 0.2.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ic-stable-memory 0.2.3 on toolchain 87788097b776f8e3662f76627944230684b671bd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+87788097b776f8e3662f76627944230684b671bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ic-stable-memory 0.2.3 [INFO] finished tweaking crates.io crate ic-stable-memory 0.2.3 [INFO] tweaked toml for crates.io crate ic-stable-memory 0.2.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+87788097b776f8e3662f76627944230684b671bd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+87788097b776f8e3662f76627944230684b671bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.7.16 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded ic-cdk v0.5.6 [INFO] [stderr] Downloaded speedy-derive v0.8.3 [INFO] [stderr] Downloaded speedy v0.8.3 [INFO] [stderr] Downloaded ic-types v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+87788097b776f8e3662f76627944230684b671bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e44303994f7af1e1735d6f7e6dda10e2d5177d7e3f4f3f67c1bf2305a100b993 [INFO] running `Command { std: "docker" "start" "-a" "e44303994f7af1e1735d6f7e6dda10e2d5177d7e3f4f3f67c1bf2305a100b993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e44303994f7af1e1735d6f7e6dda10e2d5177d7e3f4f3f67c1bf2305a100b993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44303994f7af1e1735d6f7e6dda10e2d5177d7e3f4f3f67c1bf2305a100b993", kill_on_drop: false }` [INFO] [stdout] e44303994f7af1e1735d6f7e6dda10e2d5177d7e3f4f3f67c1bf2305a100b993 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+87788097b776f8e3662f76627944230684b671bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f33fda33d9c5ebebf23ac3c4417a31ae3caedf35ccb330060987d40a728ebc46 [INFO] running `Command { std: "docker" "start" "-a" "f33fda33d9c5ebebf23ac3c4417a31ae3caedf35ccb330060987d40a728ebc46", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling speedy-derive v0.8.3 [INFO] [stderr] Compiling speedy v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling serde_bytes v0.11.7 [INFO] [stderr] Compiling ic-types v0.4.2 [INFO] [stderr] Compiling candid v0.7.16 [INFO] [stderr] Compiling ic-cdk v0.5.6 [INFO] [stderr] Compiling ic-stable-memory v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Readable`, `Writable` [INFO] [stdout] --> src/utils/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use speedy::{Readable, Writable}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/utils/mem_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/utils/phantom_data.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | fn read_from>(reader: &mut R) -> Result::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/utils/phantom_data.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | writer: &mut W, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_milli` is never used [INFO] [stdout] --> src/benchmarks/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn now_milli() -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `btree_to_sorted_vec` is never used [INFO] [stdout] --> src/collections/btree_map.rs:564:4 [INFO] [stdout] | [INFO] [stdout] 564 | fn btree_to_sorted_vec< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_btree` is never used [INFO] [stdout] --> src/collections/btree_map.rs:589:4 [INFO] [stdout] | [INFO] [stdout] 589 | fn print_btree< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_btree_level` is never used [INFO] [stdout] --> src/collections/btree_map.rs:620:4 [INFO] [stdout] | [INFO] [stdout] 620 | fn print_btree_level< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/primitive/s_slice.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SSlice { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | pub(crate) ptr: u64, [INFO] [stdout] 22 | data: SPhantomData, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "f33fda33d9c5ebebf23ac3c4417a31ae3caedf35ccb330060987d40a728ebc46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33fda33d9c5ebebf23ac3c4417a31ae3caedf35ccb330060987d40a728ebc46", kill_on_drop: false }` [INFO] [stdout] f33fda33d9c5ebebf23ac3c4417a31ae3caedf35ccb330060987d40a728ebc46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+87788097b776f8e3662f76627944230684b671bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a19237d3bd4fdec3c5139a97594421a6ae0c3986f4f1910cc1f2baabb6cab311 [INFO] running `Command { std: "docker" "start" "-a" "a19237d3bd4fdec3c5139a97594421a6ae0c3986f4f1910cc1f2baabb6cab311", kill_on_drop: false }` [INFO] [stderr] Compiling ic-stable-memory v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Readable`, `Writable` [INFO] [stdout] --> src/utils/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use speedy::{Readable, Writable}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/utils/mem_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/utils/phantom_data.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | fn read_from>(reader: &mut R) -> Result::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/utils/phantom_data.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | writer: &mut W, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_milli` is never used [INFO] [stdout] --> src/benchmarks/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn now_milli() -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `btree_to_sorted_vec` is never used [INFO] [stdout] --> src/collections/btree_map.rs:564:4 [INFO] [stdout] | [INFO] [stdout] 564 | fn btree_to_sorted_vec< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_btree` is never used [INFO] [stdout] --> src/collections/btree_map.rs:589:4 [INFO] [stdout] | [INFO] [stdout] 589 | fn print_btree< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_btree_level` is never used [INFO] [stdout] --> src/collections/btree_map.rs:620:4 [INFO] [stdout] | [INFO] [stdout] 620 | fn print_btree_level< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/primitive/s_slice.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SSlice { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | pub(crate) ptr: u64, [INFO] [stdout] 22 | data: SPhantomData, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Readable`, `Writable` [INFO] [stdout] --> src/utils/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use speedy::{Readable, Writable}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/utils/mem_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/utils/phantom_data.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | fn read_from>(reader: &mut R) -> Result::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/utils/phantom_data.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | writer: &mut W, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/primitive/s_slice.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SSlice { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | pub(crate) ptr: u64, [INFO] [stdout] 22 | data: SPhantomData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "a19237d3bd4fdec3c5139a97594421a6ae0c3986f4f1910cc1f2baabb6cab311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a19237d3bd4fdec3c5139a97594421a6ae0c3986f4f1910cc1f2baabb6cab311", kill_on_drop: false }` [INFO] [stdout] a19237d3bd4fdec3c5139a97594421a6ae0c3986f4f1910cc1f2baabb6cab311