[INFO] cloning repository https://github.com/Aoi1011/solana-twitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aoi1011/solana-twitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2Fsolana-twitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2Fsolana-twitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4db0cc365eeec332fc9ec2e1b8a5f775ef0e7e3 [INFO] checking Aoi1011/solana-twitter against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2Fsolana-twitter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aoi1011/solana-twitter on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aoi1011/solana-twitter [INFO] finished tweaking git repo https://github.com/Aoi1011/solana-twitter [INFO] tweaked toml for git repo https://github.com/Aoi1011/solana-twitter written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Aoi1011/solana-twitter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parity-scale-codec v3.6.5 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.5 [INFO] [stderr] Downloaded primitive-types v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 731b36a9175d33206e01b9120e7f1552e265bc85a34a5601ca769c09bc1bf2ec [INFO] running `Command { std: "docker" "start" "-a" "731b36a9175d33206e01b9120e7f1552e265bc85a34a5601ca769c09bc1bf2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "731b36a9175d33206e01b9120e7f1552e265bc85a34a5601ca769c09bc1bf2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731b36a9175d33206e01b9120e7f1552e265bc85a34a5601ca769c09bc1bf2ec", kill_on_drop: false }` [INFO] [stdout] 731b36a9175d33206e01b9120e7f1552e265bc85a34a5601ca769c09bc1bf2ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c31807ba152552d541afca1138826a2b9c060460df56fe7bb29add41a4315bd6 [INFO] running `Command { std: "docker" "start" "-a" "c31807ba152552d541afca1138826a2b9c060460df56fe7bb29add41a4315bd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking lmd-ghost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `ancestor_skip_list` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 17 | pub slot: Slot, [INFO] [stdout] 18 | ancestor_skip_list: [Hash256; SKIP_LIST_LEN], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_hash`, `children`, `score`, `height`, and `block_hash` are never read [INFO] [stdout] --> src/node.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub parent_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub block_hash: Hash256, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `does_not_have_children` is never used [INFO] [stdout] --> src/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | pub fn does_not_have_children(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortedList` is never constructed [INFO] [stdout] --> src/sorted_list.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SortedList(BTreeMap); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `len`, and `nth` are never used [INFO] [stdout] --> src/sorted_list.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl SortedList { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn insert(&mut self, key: K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn nth(&self, n: usize) -> Option<&K> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tree.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(root: Hash256, height: Height) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_node(&mut self, hash: Hash256, block_hash: Hash256) -> Option<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn find_prev_in_tree(&mut self, hash: Hash256, range: Range) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn exists_above_height(&self, hash: Hash256, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn exists_between_heights(&self, hash: Hash256, range: Range) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn find_ancestor_at_height(&self, child: Hash256, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn find_ancestor_at_slot(&self, child: Hash256, slot: Slot) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn find_least_common_ancestor(&self, a: Hash256, b: Hash256) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn slot_at_height(&self, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ancestor_hash_at_slot` is never used [INFO] [stdout] --> src/tree.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_ancestor_hash_at_slot(slot: Slot, start: Hash256, store: &Store) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_least_common_ancestor` is never used [INFO] [stdout] --> src/tree.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn find_least_common_ancestor(a_root: Hash256, b_root: Hash256, store: &Store) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ancestor_skip_list` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 17 | pub slot: Slot, [INFO] [stdout] 18 | ancestor_skip_list: [Hash256; SKIP_LIST_LEN], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_hash`, `children`, `score`, `height`, and `block_hash` are never read [INFO] [stdout] --> src/node.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub parent_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub block_hash: Hash256, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `does_not_have_children` is never used [INFO] [stdout] --> src/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | pub fn does_not_have_children(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortedList` is never constructed [INFO] [stdout] --> src/sorted_list.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SortedList(BTreeMap); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `len`, and `nth` are never used [INFO] [stdout] --> src/sorted_list.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl SortedList { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn insert(&mut self, key: K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn nth(&self, n: usize) -> Option<&K> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tree.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(root: Hash256, height: Height) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_node(&mut self, hash: Hash256, block_hash: Hash256) -> Option<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn find_prev_in_tree(&mut self, hash: Hash256, range: Range) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn exists_above_height(&self, hash: Hash256, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn exists_between_heights(&self, hash: Hash256, range: Range) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn find_ancestor_at_height(&self, child: Hash256, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn find_ancestor_at_slot(&self, child: Hash256, slot: Slot) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn find_least_common_ancestor(&self, a: Hash256, b: Hash256) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn slot_at_height(&self, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ancestor_hash_at_slot` is never used [INFO] [stdout] --> src/tree.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_ancestor_hash_at_slot(slot: Slot, start: Hash256, store: &Store) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_least_common_ancestor` is never used [INFO] [stdout] --> src/tree.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn find_least_common_ancestor(a_root: Hash256, b_root: Hash256, store: &Store) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.87s [INFO] running `Command { std: "docker" "inspect" "c31807ba152552d541afca1138826a2b9c060460df56fe7bb29add41a4315bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c31807ba152552d541afca1138826a2b9c060460df56fe7bb29add41a4315bd6", kill_on_drop: false }` [INFO] [stdout] c31807ba152552d541afca1138826a2b9c060460df56fe7bb29add41a4315bd6 [INFO] checking Aoi1011/solana-twitter against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2Fsolana-twitter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aoi1011/solana-twitter on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aoi1011/solana-twitter [INFO] finished tweaking git repo https://github.com/Aoi1011/solana-twitter [INFO] tweaked toml for git repo https://github.com/Aoi1011/solana-twitter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aoi1011/solana-twitter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51c030cd59fc77957089975416eb63c2326586ef67907d7f91fd79689d75a7a1 [INFO] running `Command { std: "docker" "start" "-a" "51c030cd59fc77957089975416eb63c2326586ef67907d7f91fd79689d75a7a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51c030cd59fc77957089975416eb63c2326586ef67907d7f91fd79689d75a7a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c030cd59fc77957089975416eb63c2326586ef67907d7f91fd79689d75a7a1", kill_on_drop: false }` [INFO] [stdout] 51c030cd59fc77957089975416eb63c2326586ef67907d7f91fd79689d75a7a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3be52f85d7c769f9de52e96a2119c934cdf24ffcd996192dd9ec720f6ceba33 [INFO] running `Command { std: "docker" "start" "-a" "f3be52f85d7c769f9de52e96a2119c934cdf24ffcd996192dd9ec720f6ceba33", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking lmd-ghost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `ancestor_skip_list` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 17 | pub slot: Slot, [INFO] [stdout] 18 | ancestor_skip_list: [Hash256; SKIP_LIST_LEN], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_hash`, `children`, `score`, `height`, and `block_hash` are never read [INFO] [stdout] --> src/node.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub parent_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub block_hash: Hash256, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `does_not_have_children` is never used [INFO] [stdout] --> src/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | pub fn does_not_have_children(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortedList` is never constructed [INFO] [stdout] --> src/sorted_list.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SortedList(BTreeMap); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `len`, and `nth` are never used [INFO] [stdout] --> src/sorted_list.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl SortedList { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn insert(&mut self, key: K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn nth(&self, n: usize) -> Option<&K> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tree.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(root: Hash256, height: Height) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_node(&mut self, hash: Hash256, block_hash: Hash256) -> Option<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn find_prev_in_tree(&mut self, hash: Hash256, range: Range) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn exists_above_height(&self, hash: Hash256, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn exists_between_heights(&self, hash: Hash256, range: Range) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn find_ancestor_at_height(&self, child: Hash256, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn find_ancestor_at_slot(&self, child: Hash256, slot: Slot) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn find_least_common_ancestor(&self, a: Hash256, b: Hash256) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn slot_at_height(&self, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ancestor_hash_at_slot` is never used [INFO] [stdout] --> src/tree.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_ancestor_hash_at_slot(slot: Slot, start: Hash256, store: &Store) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_least_common_ancestor` is never used [INFO] [stdout] --> src/tree.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn find_least_common_ancestor(a_root: Hash256, b_root: Hash256, store: &Store) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ancestor_skip_list` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 17 | pub slot: Slot, [INFO] [stdout] 18 | ancestor_skip_list: [Hash256; SKIP_LIST_LEN], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_hash`, `children`, `score`, `height`, and `block_hash` are never read [INFO] [stdout] --> src/node.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub parent_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub block_hash: Hash256, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `does_not_have_children` is never used [INFO] [stdout] --> src/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | pub fn does_not_have_children(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortedList` is never constructed [INFO] [stdout] --> src/sorted_list.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SortedList(BTreeMap); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `len`, and `nth` are never used [INFO] [stdout] --> src/sorted_list.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl SortedList { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn insert(&mut self, key: K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn nth(&self, n: usize) -> Option<&K> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tree.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(root: Hash256, height: Height) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_node(&mut self, hash: Hash256, block_hash: Hash256) -> Option<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn find_prev_in_tree(&mut self, hash: Hash256, range: Range) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn exists_above_height(&self, hash: Hash256, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn exists_between_heights(&self, hash: Hash256, range: Range) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn find_ancestor_at_height(&self, child: Hash256, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn find_ancestor_at_slot(&self, child: Hash256, slot: Slot) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn find_least_common_ancestor(&self, a: Hash256, b: Hash256) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn slot_at_height(&self, height: Height) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ancestor_hash_at_slot` is never used [INFO] [stdout] --> src/tree.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_ancestor_hash_at_slot(slot: Slot, start: Hash256, store: &Store) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_least_common_ancestor` is never used [INFO] [stdout] --> src/tree.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn find_least_common_ancestor(a_root: Hash256, b_root: Hash256, store: &Store) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.07s [INFO] running `Command { std: "docker" "inspect" "f3be52f85d7c769f9de52e96a2119c934cdf24ffcd996192dd9ec720f6ceba33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3be52f85d7c769f9de52e96a2119c934cdf24ffcd996192dd9ec720f6ceba33", kill_on_drop: false }` [INFO] [stdout] f3be52f85d7c769f9de52e96a2119c934cdf24ffcd996192dd9ec720f6ceba33