[INFO] cloning repository https://github.com/jo3yzhu/too-many-lists [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jo3yzhu/too-many-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo3yzhu%2Ftoo-many-lists", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo3yzhu%2Ftoo-many-lists'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 992da1900da48b7849342f549b7c163579c6b3c8 [INFO] checking jo3yzhu/too-many-lists against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo3yzhu%2Ftoo-many-lists" "/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/jo3yzhu/too-many-lists 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/jo3yzhu/too-many-lists [INFO] finished tweaking git repo https://github.com/jo3yzhu/too-many-lists [INFO] tweaked toml for git repo https://github.com/jo3yzhu/too-many-lists written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jo3yzhu/too-many-lists 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] 8942fd76f6f7d4dc8501367deddfe960cc076eab070168a628bee4913850e2a7 [INFO] running `Command { std: "docker" "start" "-a" "8942fd76f6f7d4dc8501367deddfe960cc076eab070168a628bee4913850e2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8942fd76f6f7d4dc8501367deddfe960cc076eab070168a628bee4913850e2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8942fd76f6f7d4dc8501367deddfe960cc076eab070168a628bee4913850e2a7", kill_on_drop: false }` [INFO] [stdout] 8942fd76f6f7d4dc8501367deddfe960cc076eab070168a628bee4913850e2a7 [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] 7c75affb7003ca088b859be16174aa663e885de410c29dfb9af2d840cc1ad5eb [INFO] running `Command { std: "docker" "start" "-a" "7c75affb7003ca088b859be16174aa663e885de410c29dfb9af2d840cc1ad5eb", kill_on_drop: false }` [INFO] [stderr] Checking too-many-lists v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::List` [INFO] [stdout] --> src/first.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use super::List; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::List` [INFO] [stdout] --> src/second.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use super::List; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `peek`, and `peek_mut` are never used [INFO] [stdout] --> src/second.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn push(&mut self, i: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/second.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 62 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/second.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 101 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/second.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_mut` is never used [INFO] [stdout] --> src/second.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a, T> List { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 127 | // TODO: why use '_ instead of 'a, or won't compile? [INFO] [stdout] 128 | fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/second.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | fn plus_one(i: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/third.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `prepend`, `tail`, and `head` are never used [INFO] [stdout] --> src/third.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn prepend(&mut self, val: T) -> List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn tail(&mut self) -> List { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/third.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 46 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fourth.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | fn new(val: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_front`, `push_back`, `peek_front`, and `peek_back` are never used [INFO] [stdout] --> src/fourth.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 32 | fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn push_front(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn push_back(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn peek_front(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn peek_back(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/fourth.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 128 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/fifth.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 16 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn push(&mut self, val: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/fourth.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 128 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "7c75affb7003ca088b859be16174aa663e885de410c29dfb9af2d840cc1ad5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c75affb7003ca088b859be16174aa663e885de410c29dfb9af2d840cc1ad5eb", kill_on_drop: false }` [INFO] [stdout] 7c75affb7003ca088b859be16174aa663e885de410c29dfb9af2d840cc1ad5eb [INFO] checking jo3yzhu/too-many-lists 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%2Fjo3yzhu%2Ftoo-many-lists" "/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/jo3yzhu/too-many-lists 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/jo3yzhu/too-many-lists [INFO] finished tweaking git repo https://github.com/jo3yzhu/too-many-lists [INFO] tweaked toml for git repo https://github.com/jo3yzhu/too-many-lists written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jo3yzhu/too-many-lists 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] cf143056b1e31486fa75280b18933b1945d99d93a053f713c53abfcb523c6187 [INFO] running `Command { std: "docker" "start" "-a" "cf143056b1e31486fa75280b18933b1945d99d93a053f713c53abfcb523c6187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf143056b1e31486fa75280b18933b1945d99d93a053f713c53abfcb523c6187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf143056b1e31486fa75280b18933b1945d99d93a053f713c53abfcb523c6187", kill_on_drop: false }` [INFO] [stdout] cf143056b1e31486fa75280b18933b1945d99d93a053f713c53abfcb523c6187 [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] 26928c1a8a8d0e7062a8425aeb65ffeb874b20b5a18d795fa2cf1218cb2ed6ff [INFO] running `Command { std: "docker" "start" "-a" "26928c1a8a8d0e7062a8425aeb65ffeb874b20b5a18d795fa2cf1218cb2ed6ff", kill_on_drop: false }` [INFO] [stderr] Checking too-many-lists v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::List` [INFO] [stdout] --> src/first.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use super::List; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::List` [INFO] [stdout] --> src/second.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use super::List; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `peek`, and `peek_mut` are never used [INFO] [stdout] --> src/second.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn push(&mut self, i: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/second.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 62 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/second.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 101 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/second.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_mut` is never used [INFO] [stdout] --> src/second.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a, T> List { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 127 | // TODO: why use '_ instead of 'a, or won't compile? [INFO] [stdout] 128 | fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/second.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | fn plus_one(i: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/third.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `prepend`, `tail`, and `head` are never used [INFO] [stdout] --> src/third.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn prepend(&mut self, val: T) -> List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn tail(&mut self) -> List { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/third.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 46 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fourth.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | fn new(val: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_front`, `push_back`, `peek_front`, and `peek_back` are never used [INFO] [stdout] --> src/fourth.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 32 | fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn push_front(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn push_back(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn peek_front(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn peek_back(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/fourth.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 128 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/fifth.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 16 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn push(&mut self, val: T) { [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/third.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn prepend(&mut self, val: T) -> List { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | List:: { [INFO] [stdout] 21 | head: { [INFO] [stdout] | ___________________^ [INFO] [stdout] 22 | | Some(Rc::new(Node { [INFO] [stdout] 23 | | val, [INFO] [stdout] 24 | | // Option has implementated Copy traits, whose behavior is: [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | }, [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/fourth.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(val: T) -> Rc> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Rc::new(RefCell::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 24 | | val, [INFO] [stdout] 25 | | prev: None, [INFO] [stdout] 26 | | next: None, [INFO] [stdout] 27 | | })) [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/fourth.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn push_front(&mut self, val: T) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let new_head = Node::new(val); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | match self.head.take() { [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/fourth.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 54 | fn push_back(&mut self, val: T) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let new_tail = Node::new(val); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | match self.tail.take() { [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/fourth.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 70 | self.head.take().map(|old_head| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Rc::try_unwrap(old_head).ok().unwrap().into_inner().val [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/fourth.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 88 | self.tail.take().map(|old_tail| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Rc::try_unwrap(old_tail).ok().unwrap().into_inner().val [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/fourth.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | .map(|node| Ref::map(node.borrow(), |node| &node.val)) [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/fourth.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | .map(|node| Ref::map(node.borrow(), |node| &node.val)) [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 8 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `too-many-lists` (lib) due to 9 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/fourth.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 128 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/third.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn prepend(&mut self, val: T) -> List { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | List:: { [INFO] [stdout] 21 | head: { [INFO] [stdout] | ___________________^ [INFO] [stdout] 22 | | Some(Rc::new(Node { [INFO] [stdout] 23 | | val, [INFO] [stdout] 24 | | // Option has implementated Copy traits, whose behavior is: [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | }, [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/fourth.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(val: T) -> Rc> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Rc::new(RefCell::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 24 | | val, [INFO] [stdout] 25 | | prev: None, [INFO] [stdout] 26 | | next: None, [INFO] [stdout] 27 | | })) [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/fourth.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn push_front(&mut self, val: T) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let new_head = Node::new(val); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | match self.head.take() { [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/fourth.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 54 | fn push_back(&mut self, val: T) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let new_tail = Node::new(val); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | match self.tail.take() { [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/fourth.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 70 | self.head.take().map(|old_head| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Rc::try_unwrap(old_head).ok().unwrap().into_inner().val [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/fourth.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 88 | self.tail.take().map(|old_tail| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Rc::try_unwrap(old_tail).ok().unwrap().into_inner().val [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/fourth.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | .map(|node| Ref::map(node.borrow(), |node| &node.val)) [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/fourth.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | .map(|node| Ref::map(node.borrow(), |node| &node.val)) [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `too-many-lists` (lib test) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "26928c1a8a8d0e7062a8425aeb65ffeb874b20b5a18d795fa2cf1218cb2ed6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26928c1a8a8d0e7062a8425aeb65ffeb874b20b5a18d795fa2cf1218cb2ed6ff", kill_on_drop: false }` [INFO] [stdout] 26928c1a8a8d0e7062a8425aeb65ffeb874b20b5a18d795fa2cf1218cb2ed6ff