[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [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 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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" "+506512391b1a75ae450d36c9420978402a91abcc" "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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7e6db101b847c519345e0756a855ac91b8cdca4c25a4e5717a07b283da86c49 [INFO] running `Command { std: "docker" "start" "-a" "f7e6db101b847c519345e0756a855ac91b8cdca4c25a4e5717a07b283da86c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7e6db101b847c519345e0756a855ac91b8cdca4c25a4e5717a07b283da86c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e6db101b847c519345e0756a855ac91b8cdca4c25a4e5717a07b283da86c49", kill_on_drop: false }` [INFO] [stdout] f7e6db101b847c519345e0756a855ac91b8cdca4c25a4e5717a07b283da86c49 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 039eb38ab36d083a700a84e6413a0747f33a430c8062958ddc9558c09e51c4b4 [INFO] running `Command { std: "docker" "start" "-a" "039eb38ab36d083a700a84e6413a0747f33a430c8062958ddc9558c09e51c4b4", kill_on_drop: false }` [INFO] [stderr] Checking todo_app v0.1.2 (/opt/rustwide/workdir) [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/506512391b1a75ae450d36c9420978402a91abcc/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/506512391b1a75ae450d36c9420978402a91abcc/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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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 [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 [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 [INFO] running `Command { std: "docker" "inspect" "039eb38ab36d083a700a84e6413a0747f33a430c8062958ddc9558c09e51c4b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "039eb38ab36d083a700a84e6413a0747f33a430c8062958ddc9558c09e51c4b4", kill_on_drop: false }` [INFO] [stdout] 039eb38ab36d083a700a84e6413a0747f33a430c8062958ddc9558c09e51c4b4