[INFO] cloning repository https://github.com/zhenhuanlee/lists [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhenhuanlee/lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhenhuanlee%2Flists", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhenhuanlee%2Flists'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1843ceed34c5430df52e577ca11703f0eb01a3af [INFO] checking zhenhuanlee/lists against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhenhuanlee%2Flists" "/workspace/builds/worker-42/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-42/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhenhuanlee/lists on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhenhuanlee/lists [INFO] finished tweaking git repo https://github.com/zhenhuanlee/lists [INFO] tweaked toml for git repo https://github.com/zhenhuanlee/lists written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate git repo https://github.com/zhenhuanlee/lists already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1196ada10c3006ab1aa49864efc645b9c271e65782fb91b1336b2d59ac9cde51 [INFO] running `Command { std: "docker" "start" "-a" "1196ada10c3006ab1aa49864efc645b9c271e65782fb91b1336b2d59ac9cde51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1196ada10c3006ab1aa49864efc645b9c271e65782fb91b1336b2d59ac9cde51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1196ada10c3006ab1aa49864efc645b9c271e65782fb91b1336b2d59ac9cde51", kill_on_drop: false }` [INFO] [stdout] 1196ada10c3006ab1aa49864efc645b9c271e65782fb91b1336b2d59ac9cde51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a70d74ce13730f1a9fe057dc2750eb1010d9e46e106bc12ef099cf8e0bb6bb5f [INFO] running `Command { std: "docker" "start" "-a" "a70d74ce13730f1a9fe057dc2750eb1010d9e46e106bc12ef099cf8e0bb6bb5f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lists v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stderr] Fixed src/lib/first.rs (1 fix) [INFO] [stderr] Fixed src/lib/second.rs (1 fix) [INFO] [stderr] Fixed src/lib/fourth.rs (1 fix) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/lib/first.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let mut list = List::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 59 | use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 59 | use crate::lib::third::List; [INFO] [stdout] | [INFO] [stdout] 59 | use crate::second::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `More` [INFO] [stdout] --> src/lib/first.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | More(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/lib/second.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let mut list = List::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 124 | use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::lib::third::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::second::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/lib/second.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let mut list = List::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 124 | use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::lib::third::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::second::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/lib/second.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | let mut list = List::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 124 | use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::lib::third::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::second::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/lib/second.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | let mut list = List::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 124 | use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::lib::third::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::second::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/lib/second.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | let mut list = List::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 124 | use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::lib::third::List; [INFO] [stdout] | [INFO] [stdout] 124 | use crate::second::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/first.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/lib/first.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn push(&mut self, elem: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/lib/first.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/second.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/lib/second.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn push(&mut self, elem: T) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/lib/second.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mut_peek` [INFO] [stdout] --> src/lib/second.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn mut_peek(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_iter` [INFO] [stdout] --> src/lib/second.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/lib/second.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/lib/second.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/lib/third.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/third.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/lib/third.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn append(&self, elem: T) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/lib/third.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn tail(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head` [INFO] [stdout] --> src/lib/third.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `List` [INFO] [stdout] --> src/lib/fourth.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Link` [INFO] [stdout] --> src/lib/fourth.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Link = Option>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [INFO] [stdout] --> src/lib/fourth.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/fourth.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn new(elem: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/fourth.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(_elem: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_front` [INFO] [stdout] --> src/lib/fourth.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn push_front(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `second` [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn second() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first` [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn first() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_ref` [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn test_ref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a70d74ce13730f1a9fe057dc2750eb1010d9e46e106bc12ef099cf8e0bb6bb5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70d74ce13730f1a9fe057dc2750eb1010d9e46e106bc12ef099cf8e0bb6bb5f", kill_on_drop: false }` [INFO] [stdout] a70d74ce13730f1a9fe057dc2750eb1010d9e46e106bc12ef099cf8e0bb6bb5f