[INFO] cloning repository https://github.com/Pungyeon/rusty-lists [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pungyeon/rusty-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPungyeon%2Frusty-lists", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPungyeon%2Frusty-lists'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e84440d222e7b6bdb69f05555b9ff4c1f21a9d8 [INFO] checking Pungyeon/rusty-lists against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPungyeon%2Frusty-lists" "/workspace/builds/worker-49/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-49/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pungyeon/rusty-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/Pungyeon/rusty-lists [INFO] finished tweaking git repo https://github.com/Pungyeon/rusty-lists [INFO] tweaked toml for git repo https://github.com/Pungyeon/rusty-lists written to /workspace/builds/worker-49/source/Cargo.toml [INFO] crate git repo https://github.com/Pungyeon/rusty-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-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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] 96e6dfb0198e423cb4d82c8c991cb99e39c7fead9125e509c98843bc13b708f4 [INFO] running `Command { std: "docker" "start" "-a" "96e6dfb0198e423cb4d82c8c991cb99e39c7fead9125e509c98843bc13b708f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96e6dfb0198e423cb4d82c8c991cb99e39c7fead9125e509c98843bc13b708f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96e6dfb0198e423cb4d82c8c991cb99e39c7fead9125e509c98843bc13b708f4", kill_on_drop: false }` [INFO] [stdout] 96e6dfb0198e423cb4d82c8c991cb99e39c7fead9125e509c98843bc13b708f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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] d5270689f2bfc1acecbfadf3bd57b41b8c1fc1fd427d7bb9275b17bc78688387 [INFO] running `Command { std: "docker" "start" "-a" "d5270689f2bfc1acecbfadf3bd57b41b8c1fc1fd427d7bb9275b17bc78688387", 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 rusty-cart v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lists/binary.rs (1 fix) [INFO] [stderr] Fixed src/lists/stack.rs (1 fix) [INFO] [stderr] Fixed src/lists/persistently_linked.rs (1 fix) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/lists/stack.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let mut stack = Stack::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 | use crate::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/lists/stack.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let mut stack = Stack::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 | use crate::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/lists/stack.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let mut stack = Stack::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 | use crate::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/lists/stack.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let mut stack = Stack::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 | use crate::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/lists/stack.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let mut stack = Stack::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 | use crate::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryTree` [INFO] [stdout] --> src/lists/binary.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let bin_t = BinaryTree::new(0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 83 | use crate::BinaryTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryTree` [INFO] [stdout] --> src/lists/binary.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let bin_t = BinaryTree::new(1); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 83 | use crate::BinaryTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryTree` [INFO] [stdout] --> src/lists/binary.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let bin_t = BinaryTree::new(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 83 | use crate::BinaryTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-cart` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/lists/stack.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/lists/stack.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/lists/stack.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count` [INFO] [stdout] --> src/lists/binary.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn count(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count` [INFO] [stdout] --> src/lists/binary.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn count(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `List` [INFO] [stdout] --> src/lists/persistently_linked.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lists/persistently_linked.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: `append` [INFO] [stdout] --> src/lists/persistently_linked.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn append(&self, elem: T) -> List { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/lists/persistently_linked.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn tail(&self, _elem: T) -> List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head` [INFO] [stdout] --> src/lists/persistently_linked.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/lists/persistently_linked.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_tail` [INFO] [stdout] --> src/lists/persistently_linked.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_tail() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [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" "d5270689f2bfc1acecbfadf3bd57b41b8c1fc1fd427d7bb9275b17bc78688387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5270689f2bfc1acecbfadf3bd57b41b8c1fc1fd427d7bb9275b17bc78688387", kill_on_drop: false }` [INFO] [stdout] d5270689f2bfc1acecbfadf3bd57b41b8c1fc1fd427d7bb9275b17bc78688387