[INFO] cloning repository https://github.com/TylerBloom/Todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TylerBloom/Todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerBloom%2FTodo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerBloom%2FTodo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 478a8458cbd0592e8e6262503f7257c8f8a2981c [INFO] testing TylerBloom/Todo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerBloom%2FTodo" "/workspace/builds/worker-66/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-66/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TylerBloom/Todo on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TylerBloom/Todo [INFO] finished tweaking git repo https://github.com/TylerBloom/Todo [INFO] tweaked toml for git repo https://github.com/TylerBloom/Todo written to /workspace/builds/worker-66/source/Cargo.toml [INFO] crate git repo https://github.com/TylerBloom/Todo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8841c9e6c28b8964d6344132c27d168e001c4870bdc936527a2e10fa9ef5b48f [INFO] running `Command { std: "docker" "start" "-a" "8841c9e6c28b8964d6344132c27d168e001c4870bdc936527a2e10fa9ef5b48f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8841c9e6c28b8964d6344132c27d168e001c4870bdc936527a2e10fa9ef5b48f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8841c9e6c28b8964d6344132c27d168e001c4870bdc936527a2e10fa9ef5b48f", kill_on_drop: false }` [INFO] [stdout] 8841c9e6c28b8964d6344132c27d168e001c4870bdc936527a2e10fa9ef5b48f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d09c238c786b3ab6c7142b8ceacee4768a3b07d05bb52748628b6719b1dc8fa7 [INFO] running `Command { std: "docker" "start" "-a" "d09c238c786b3ab6c7142b8ceacee4768a3b07d05bb52748628b6719b1dc8fa7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `termcolor` [INFO] [stdout] --> src/todo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termcolor; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/todo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tds` [INFO] [stdout] --> src/main.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | fn save_todos(tds: &Todos) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.tasks` which is behind a shared reference [INFO] [stdout] --> src/todo.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for t in self.tasks { [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.tasks` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content [INFO] [stdout] | [INFO] [stdout] 24 | for t in &self.tasks { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | args.add[0], [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | args.add[1], [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | args.add[2], [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | args.add[3], [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `args.remove` [INFO] [stdout] --> src/main.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 50 | for r in args.remove { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `args.remove` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | help: consider borrowing to avoid moving into the for loop: `&args.remove` [INFO] [stdout] ... [INFO] [stdout] 55 | if args.add.len() + args.remove.len() + args.update.len() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `args.remove` [INFO] [stdout] = note: move occurs because `args.remove` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo` due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d09c238c786b3ab6c7142b8ceacee4768a3b07d05bb52748628b6719b1dc8fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09c238c786b3ab6c7142b8ceacee4768a3b07d05bb52748628b6719b1dc8fa7", kill_on_drop: false }` [INFO] [stdout] d09c238c786b3ab6c7142b8ceacee4768a3b07d05bb52748628b6719b1dc8fa7