[INFO] cloning repository https://github.com/fzft/my-salsa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fzft/my-salsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzft%2Fmy-salsa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzft%2Fmy-salsa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce7db5b115a6a7456516faf8ac353a94cc789175 [INFO] checking fzft/my-salsa against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzft%2Fmy-salsa" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fzft/my-salsa on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fzft/my-salsa [INFO] finished tweaking git repo https://github.com/fzft/my-salsa [INFO] tweaked toml for git repo https://github.com/fzft/my-salsa written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fzft/my-salsa 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d42106a14edeba9386c3de5fad7b68edf034e3e8accc8c4a6b003f8ca185d052 [INFO] running `Command { std: "docker" "start" "-a" "d42106a14edeba9386c3de5fad7b68edf034e3e8accc8c4a6b003f8ca185d052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d42106a14edeba9386c3de5fad7b68edf034e3e8accc8c4a6b003f8ca185d052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42106a14edeba9386c3de5fad7b68edf034e3e8accc8c4a6b003f8ca185d052", kill_on_drop: false }` [INFO] [stdout] d42106a14edeba9386c3de5fad7b68edf034e3e8accc8c4a6b003f8ca185d052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 152b24cd5353ada9a012a9964b6885cbd0b9a7caf5c22d6044baece1c3b722bd [INFO] running `Command { std: "docker" "start" "-a" "152b24cd5353ada9a012a9964b6885cbd0b9a7caf5c22d6044baece1c3b722bd", kill_on_drop: false }` [INFO] [stderr] Checking my-salsa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::IpAddr::V4` [INFO] [stdout] --> src/linklist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::IpAddr::V4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr::V4` [INFO] [stdout] --> src/linklist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::IpAddr::V4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DeriveIndex` is never used [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type DeriveIndex = u32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRU` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct LRU {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncMap` is never constructed [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SyncMap {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct KeyMap {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemMap` is never constructed [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MemMap {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_SIZE` is never used [INFO] [stdout] --> src/hashmap.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const DEFAULT_MAX_SIZE: u64 = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashMap` is never constructed [INFO] [stdout] --> src/hashmap.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hashmap.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 14 | impl HashMap { [INFO] [stdout] | --------------------------------------------------- associated items in this implementation [INFO] [stdout] 15 | [INFO] [stdout] 16 | const INIT: Option> = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn put(&mut self, key: T, val: V) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get(&mut self, key: T) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn insert_new_value(&mut self, key: T, val: V, pos: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn update_or_link_new_val(key: T, val: V, list: &mut linklist::DoublyLinkedList, cur_size: &mut usize) -> Option where T: Eq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn check_list_for_key(key: T, list: &mut linklist::DoublyLinkedList) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn remove(&mut self, key: T) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn check_item_in_list_and_remove(key: T, list: &mut linklist::DoublyLinkedList, curr_size: &mut usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_key` is never used [INFO] [stdout] --> src/hashmap.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn hash_key(key: T) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_hash` is never used [INFO] [stdout] --> src/hashmap.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn simple_hash(string: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `key`, and `prev` are never read [INFO] [stdout] --> src/linklist.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | pub(crate) value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub(crate) key: K, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub(crate) prev: WeakLink, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/linklist.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Node { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 18 | fn new(key: K, value: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tail` is never read [INFO] [stdout] --> src/linklist.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DoublyLinkedList { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 30 | pub(crate) head: Link, [INFO] [stdout] 31 | pub(crate) tail: WeakLink, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoublyLinkedList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_back`, `remove`, `find`, and `iter` are never used [INFO] [stdout] --> src/linklist.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DoublyLinkedList { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn push_back(&mut self, key: K, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn remove(&mut self, target: &Rc>>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn find(&self, key: K) -> Option>>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn iter(&self) -> DoublyLinkedListRefIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DeriveIndex` is never used [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type DeriveIndex = u32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRU` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct LRU {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncMap` is never constructed [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SyncMap {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct KeyMap {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemMap` is never constructed [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MemMap {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hashmap.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HashMap { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_hash` is never used [INFO] [stdout] --> src/hashmap.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn simple_hash(string: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "152b24cd5353ada9a012a9964b6885cbd0b9a7caf5c22d6044baece1c3b722bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152b24cd5353ada9a012a9964b6885cbd0b9a7caf5c22d6044baece1c3b722bd", kill_on_drop: false }` [INFO] [stdout] 152b24cd5353ada9a012a9964b6885cbd0b9a7caf5c22d6044baece1c3b722bd [INFO] checking fzft/my-salsa against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzft%2Fmy-salsa" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fzft/my-salsa on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fzft/my-salsa [INFO] finished tweaking git repo https://github.com/fzft/my-salsa [INFO] tweaked toml for git repo https://github.com/fzft/my-salsa written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fzft/my-salsa 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 618fd9a2910032ab9ab8a4e6296aeb6afeb8c59f3dbc780c0df988460db503b0 [INFO] running `Command { std: "docker" "start" "-a" "618fd9a2910032ab9ab8a4e6296aeb6afeb8c59f3dbc780c0df988460db503b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "618fd9a2910032ab9ab8a4e6296aeb6afeb8c59f3dbc780c0df988460db503b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618fd9a2910032ab9ab8a4e6296aeb6afeb8c59f3dbc780c0df988460db503b0", kill_on_drop: false }` [INFO] [stdout] 618fd9a2910032ab9ab8a4e6296aeb6afeb8c59f3dbc780c0df988460db503b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16e6d2cde99dde57e204d48438a4fd730c9d1b19f6fb92500ed3500e1866d7d4 [INFO] running `Command { std: "docker" "start" "-a" "16e6d2cde99dde57e204d48438a4fd730c9d1b19f6fb92500ed3500e1866d7d4", kill_on_drop: false }` [INFO] [stderr] Checking my-salsa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::IpAddr::V4` [INFO] [stdout] --> src/linklist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::IpAddr::V4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr::V4` [INFO] [stdout] --> src/linklist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::IpAddr::V4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DeriveIndex` is never used [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type DeriveIndex = u32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRU` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct LRU {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncMap` is never constructed [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SyncMap {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct KeyMap {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemMap` is never constructed [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MemMap {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_SIZE` is never used [INFO] [stdout] --> src/hashmap.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const DEFAULT_MAX_SIZE: u64 = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashMap` is never constructed [INFO] [stdout] --> src/hashmap.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hashmap.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 14 | impl HashMap { [INFO] [stdout] | --------------------------------------------------- associated items in this implementation [INFO] [stdout] 15 | [INFO] [stdout] 16 | const INIT: Option> = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn put(&mut self, key: T, val: V) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get(&mut self, key: T) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn insert_new_value(&mut self, key: T, val: V, pos: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn update_or_link_new_val(key: T, val: V, list: &mut linklist::DoublyLinkedList, cur_size: &mut usize) -> Option where T: Eq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn check_list_for_key(key: T, list: &mut linklist::DoublyLinkedList) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn remove(&mut self, key: T) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn check_item_in_list_and_remove(key: T, list: &mut linklist::DoublyLinkedList, curr_size: &mut usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_key` is never used [INFO] [stdout] --> src/hashmap.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn hash_key(key: T) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_hash` is never used [INFO] [stdout] --> src/hashmap.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn simple_hash(string: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `key`, and `prev` are never read [INFO] [stdout] --> src/linklist.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | pub(crate) value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub(crate) key: K, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub(crate) prev: WeakLink, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/linklist.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Node { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 18 | fn new(key: K, value: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tail` is never read [INFO] [stdout] --> src/linklist.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DoublyLinkedList { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 30 | pub(crate) head: Link, [INFO] [stdout] 31 | pub(crate) tail: WeakLink, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoublyLinkedList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_back`, `remove`, `find`, and `iter` are never used [INFO] [stdout] --> src/linklist.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DoublyLinkedList { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn push_back(&mut self, key: K, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn remove(&mut self, target: &Rc>>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn find(&self, key: K) -> Option>>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn iter(&self) -> DoublyLinkedListRefIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hashmap.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 58 | fn update_or_link_new_val(key: T, val: V, list: &mut linklist::DoublyLinkedList, cur_size: &mut usize) -> Option where T: Eq { [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let key_clone = key.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | match list.find(key_clone) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hashmap.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 78 | fn check_list_for_key(key: T, list: &mut linklist::DoublyLinkedList) -> Option [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | { [INFO] [stdout] 80 | match list.find(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hashmap.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_item_in_list_and_remove(key: T, list: &mut linklist::DoublyLinkedList, curr_size: &mut usize) -> Option { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | match list.find(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/linklist.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn new(key: K, value: T) -> Rc> { [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Rc::new(RefCell::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 20 | | value, [INFO] [stdout] 21 | | key, [INFO] [stdout] 22 | | prev: None, [INFO] [stdout] 23 | | next: None, [INFO] [stdout] 24 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-salsa` (bin "my-salsa") due to 5 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type alias `DeriveIndex` is never used [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type DeriveIndex = u32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRU` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct LRU {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncMap` is never constructed [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SyncMap {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct KeyMap {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemMap` is never constructed [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MemMap {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hashmap.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HashMap { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_hash` is never used [INFO] [stdout] --> src/hashmap.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn simple_hash(string: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hashmap.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 58 | fn update_or_link_new_val(key: T, val: V, list: &mut linklist::DoublyLinkedList, cur_size: &mut usize) -> Option where T: Eq { [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let key_clone = key.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | match list.find(key_clone) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hashmap.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 78 | fn check_list_for_key(key: T, list: &mut linklist::DoublyLinkedList) -> Option [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | { [INFO] [stdout] 80 | match list.find(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hashmap.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_item_in_list_and_remove(key: T, list: &mut linklist::DoublyLinkedList, curr_size: &mut usize) -> Option { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | match list.find(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/linklist.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn new(key: K, value: T) -> Rc> { [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Rc::new(RefCell::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 20 | | value, [INFO] [stdout] 21 | | key, [INFO] [stdout] 22 | | prev: None, [INFO] [stdout] 23 | | next: None, [INFO] [stdout] 24 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-salsa` (bin "my-salsa" test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "16e6d2cde99dde57e204d48438a4fd730c9d1b19f6fb92500ed3500e1866d7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e6d2cde99dde57e204d48438a4fd730c9d1b19f6fb92500ed3500e1866d7d4", kill_on_drop: false }` [INFO] [stdout] 16e6d2cde99dde57e204d48438a4fd730c9d1b19f6fb92500ed3500e1866d7d4