[INFO] cloning repository https://github.com/iankit3/todo_app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iankit3/todo_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiankit3%2Ftodo_app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiankit3%2Ftodo_app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9d72ceaa7249c0077939ef9ae06e435e95328aa [INFO] checking iankit3/todo_app against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiankit3%2Ftodo_app" "/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/iankit3/todo_app on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iankit3/todo_app [INFO] finished tweaking git repo https://github.com/iankit3/todo_app [INFO] tweaked toml for git repo https://github.com/iankit3/todo_app written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iankit3/todo_app 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd3275463faeb40f859cc454d2180a5c256b4d6f5f96ac65c8a3033bc15ad0ef [INFO] running `Command { std: "docker" "start" "-a" "dd3275463faeb40f859cc454d2180a5c256b4d6f5f96ac65c8a3033bc15ad0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd3275463faeb40f859cc454d2180a5c256b4d6f5f96ac65c8a3033bc15ad0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd3275463faeb40f859cc454d2180a5c256b4d6f5f96ac65c8a3033bc15ad0ef", kill_on_drop: false }` [INFO] [stdout] dd3275463faeb40f859cc454d2180a5c256b4d6f5f96ac65c8a3033bc15ad0ef [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8482f0208d32fe6625b6f61c6dc52946735daf99b24f2390cf25cc26f3339097 [INFO] running `Command { std: "docker" "start" "-a" "8482f0208d32fe6625b6f61c6dc52946735daf99b24f2390cf25cc26f3339097", kill_on_drop: false }` [INFO] [stderr] Checking todo_app v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Task<'_>: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | task_list.sort(); [INFO] [stdout] | ^^^^ the trait `Ord` is not implemented for `Task<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `slice::::sort` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/slice.rs:207:5 [INFO] [stdout] help: consider annotating `Task<'_>` with `#[derive(Ord)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Ord)] [INFO] [stdout] 22 | pub struct Task<'a>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Task<'_>: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | task_list.sort(); [INFO] [stdout] | ^^^^ the trait `Ord` is not implemented for `Task<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `slice::::sort` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/slice.rs:207:5 [INFO] [stdout] help: consider annotating `Task<'_>` with `#[derive(Ord)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Ord)] [INFO] [stdout] 22 | pub struct Task<'a>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec>` cannot be built from an iterator over elements of type `&Task<'_>` [INFO] [stdout] --> src/main.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | .collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&Task<'_>>` is not implemented for `Vec>` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `Vec>` [INFO] [stdout] = help: for that trait implementation, expected `Task<'_>`, found `&Task<'_>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 72 | task_list = task_list [INFO] [stdout] | --------- this expression has type `Vec>` [INFO] [stdout] 73 | .iter() [INFO] [stdout] | ^^^^^^ `Iterator::Item` is `&Task<'_>` here [INFO] [stdout] 74 | .filter(|x| x.is_done == true) [INFO] [stdout] | ----------------------------- `Iterator::Item` remains `&Task<'_>` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec>` cannot be built from an iterator over elements of type `&Task<'_>` [INFO] [stdout] --> src/main.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | .collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&Task<'_>>` is not implemented for `Vec>` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `Vec>` [INFO] [stdout] = help: for that trait implementation, expected `Task<'_>`, found `&Task<'_>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 72 | task_list = task_list [INFO] [stdout] | --------- this expression has type `Vec>` [INFO] [stdout] 73 | .iter() [INFO] [stdout] | ^^^^^^ `Iterator::Item` is `&Task<'_>` here [INFO] [stdout] 74 | .filter(|x| x.is_done == true) [INFO] [stdout] | ----------------------------- `Iterator::Item` remains `&Task<'_>` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `&mut Vec>` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/main.rs:83:68 [INFO] [stdout] | [INFO] [stdout] 83 | tasks_list = tasks_list.iter().map(|task| task.is_done = true).collect(); [INFO] [stdout] | ^^^^^^^ value of type `&mut Vec>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `&mut Vec>` [INFO] [stdout] = help: the trait `FromIterator<()>` is implemented for `Vec<()>` [INFO] [stdout] = help: for that trait implementation, expected `Vec<()>`, found `&mut Vec>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | tasks_list = tasks_list.iter().map(|task| task.is_done = true).collect(); [INFO] [stdout] | ---------- ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `()` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&Task<'_>` here [INFO] [stdout] | this expression has type `&mut Vec>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `&mut Vec>` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/main.rs:83:68 [INFO] [stdout] | [INFO] [stdout] 83 | tasks_list = tasks_list.iter().map(|task| task.is_done = true).collect(); [INFO] [stdout] | ^^^^^^^ value of type `&mut Vec>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `&mut Vec>` [INFO] [stdout] = help: the trait `FromIterator<()>` is implemented for `Vec<()>` [INFO] [stdout] = help: for that trait implementation, expected `Vec<()>`, found `&mut Vec>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | tasks_list = tasks_list.iter().map(|task| task.is_done = true).collect(); [INFO] [stdout] | ---------- ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `()` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&Task<'_>` here [INFO] [stdout] | this expression has type `&mut Vec>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_list` [INFO] [stdout] --> src/main.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn delete_task(task_list : Vec){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_list` [INFO] [stdout] --> src/main.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn delete_task(task_list : Vec){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo_app` (bin "todo_app") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `todo_app` (bin "todo_app" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8482f0208d32fe6625b6f61c6dc52946735daf99b24f2390cf25cc26f3339097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8482f0208d32fe6625b6f61c6dc52946735daf99b24f2390cf25cc26f3339097", kill_on_drop: false }` [INFO] [stdout] 8482f0208d32fe6625b6f61c6dc52946735daf99b24f2390cf25cc26f3339097 [INFO] checking iankit3/todo_app against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiankit3%2Ftodo_app" "/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/iankit3/todo_app on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iankit3/todo_app [INFO] finished tweaking git repo https://github.com/iankit3/todo_app [INFO] tweaked toml for git repo https://github.com/iankit3/todo_app written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iankit3/todo_app 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc2969d4e9b3e72cde09112b11ca28e7d68d0fecc366f0d298d40405132fb141 [INFO] running `Command { std: "docker" "start" "-a" "cc2969d4e9b3e72cde09112b11ca28e7d68d0fecc366f0d298d40405132fb141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2969d4e9b3e72cde09112b11ca28e7d68d0fecc366f0d298d40405132fb141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2969d4e9b3e72cde09112b11ca28e7d68d0fecc366f0d298d40405132fb141", kill_on_drop: false }` [INFO] [stdout] cc2969d4e9b3e72cde09112b11ca28e7d68d0fecc366f0d298d40405132fb141 [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5c118b9abf13f8f8a5f87f85b48fa1926078012888075938d22bdbb5c6a5024 [INFO] running `Command { std: "docker" "start" "-a" "f5c118b9abf13f8f8a5f87f85b48fa1926078012888075938d22bdbb5c6a5024", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "f5c118b9abf13f8f8a5f87f85b48fa1926078012888075938d22bdbb5c6a5024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c118b9abf13f8f8a5f87f85b48fa1926078012888075938d22bdbb5c6a5024", kill_on_drop: false }` [INFO] [stdout] f5c118b9abf13f8f8a5f87f85b48fa1926078012888075938d22bdbb5c6a5024