[INFO] fetching crate ic-stable-memory 0.2.3... [INFO] checking ic-stable-memory-0.2.3 against master#2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4 for pr-84385 [INFO] extracting crate ic-stable-memory 0.2.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ic-stable-memory 0.2.3 on toolchain 2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk v0.5.7 [INFO] [stderr] Downloaded speedy-derive v0.8.3 [INFO] [stderr] Downloaded speedy v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ccd1c3d8b8892aa1c8d9ae7e1c3a6ef660123d062e758e2a5afc60568e4fa07 [INFO] running `Command { std: "docker" "start" "-a" "3ccd1c3d8b8892aa1c8d9ae7e1c3a6ef660123d062e758e2a5afc60568e4fa07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ccd1c3d8b8892aa1c8d9ae7e1c3a6ef660123d062e758e2a5afc60568e4fa07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ccd1c3d8b8892aa1c8d9ae7e1c3a6ef660123d062e758e2a5afc60568e4fa07", kill_on_drop: false }` [INFO] [stdout] 3ccd1c3d8b8892aa1c8d9ae7e1c3a6ef660123d062e758e2a5afc60568e4fa07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34d4e664fd0903d0e292d6b090770e61a41f5ea1aa059c775ede87957b4bdd3b [INFO] running `Command { std: "docker" "start" "-a" "34d4e664fd0903d0e292d6b090770e61a41f5ea1aa059c775ede87957b4bdd3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.15 [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 fixedbitset v0.4.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [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] Checking speedy v0.8.3 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking ic-types v0.5.0 [INFO] [stderr] Compiling candid v0.7.18 [INFO] [stderr] Checking ic-cdk v0.5.7 [INFO] [stderr] Checking 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 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: 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: 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 dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "34d4e664fd0903d0e292d6b090770e61a41f5ea1aa059c775ede87957b4bdd3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34d4e664fd0903d0e292d6b090770e61a41f5ea1aa059c775ede87957b4bdd3b", kill_on_drop: false }` [INFO] [stdout] 34d4e664fd0903d0e292d6b090770e61a41f5ea1aa059c775ede87957b4bdd3b