[INFO] cloning repository https://github.com/jakegodsall/todo-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakegodsall/todo-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakegodsall%2Ftodo-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakegodsall%2Ftodo-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 689dde47bc55f0b60d29c50ebbd641feca2621e7
[INFO] testing jakegodsall/todo-rust against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakegodsall%2Ftodo-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jakegodsall/todo-rust
[INFO] finished tweaking git repo https://github.com/jakegodsall/todo-rust
[INFO] tweaked toml for git repo https://github.com/jakegodsall/todo-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jakegodsall/todo-rust on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jakegodsall/todo-rust 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlite3-sys v0.18.0
[INFO] [stderr]   Downloaded csv-core v0.1.12
[INFO] [stderr]   Downloaded sqlite v0.37.0
[INFO] [stderr]   Downloaded sqlite3-src v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 813d2df675f52935453fc9af1addfedc4502e753385fba5105859bb454934483
[INFO] running `Command { std: "docker" "start" "-a" "813d2df675f52935453fc9af1addfedc4502e753385fba5105859bb454934483", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "813d2df675f52935453fc9af1addfedc4502e753385fba5105859bb454934483", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "813d2df675f52935453fc9af1addfedc4502e753385fba5105859bb454934483", kill_on_drop: false }`
[INFO] [stdout] 813d2df675f52935453fc9af1addfedc4502e753385fba5105859bb454934483
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3eef9d82a6610c03de004bc6a2d6a267c326109dfe0e15ada10f9fe4c35912ca
[INFO] running `Command { std: "docker" "start" "-a" "3eef9d82a6610c03de004bc6a2d6a267c326109dfe0e15ada10f9fe4c35912ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling sqlite3-src v0.7.0
[INFO] [stderr]    Compiling sqlite3-sys v0.18.0
[INFO] [stderr]    Compiling sqlite v0.37.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling todo-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: comparison operators cannot be chained
[INFO] [stdout]   --> src/repositories/todo.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let completed_at = Option<DateTime<Local>> = completed_at_str
[INFO] [stdout]    |                                      ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
[INFO] [stdout]    = help: or use `(...)` if you meant to specify fn arguments
[INFO] [stdout] help: split the comparison into two
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let completed_at = Option<DateTime && DateTime<Local>> = completed_at_str
[INFO] [stdout]    |                                                +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `todos` in this scope
[INFO] [stdout]   --> src/cli/handler.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 |     if todos.is_empty() {
[INFO] [stdout]    |        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `todos` in this scope
[INFO] [stdout]   --> src/cli/handler.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |     print_todos(todos);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `todos` in this scope
[INFO] [stdout]   --> src/cli/handler.rs:59:40
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let valid_options: Vec<i32> = (1..=todos.len() as i32).collect();
[INFO] [stdout]    |                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `todos` in this scope
[INFO] [stdout]   --> src/cli/handler.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     todos[index].complete();
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `todos` in this scope
[INFO] [stdout]   --> src/cli/handler.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     print_todos(todos);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `items` in this scope
[INFO] [stdout]    --> src/cli/handler.rs:142:37
[INFO] [stdout]     |
[INFO] [stdout] 142 |             3 => complete_todo(&mut items),
[INFO] [stdout]     |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `items` in this scope
[INFO] [stdout]    --> src/cli/handler.rs:143:35
[INFO] [stdout]     |
[INFO] [stdout] 143 |             4 => delete_todo(&mut items),
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `items` in this scope
[INFO] [stdout]    --> src/cli/handler.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 export(&items);
[INFO] [stdout]     |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/cli/handler.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |             3 => complete_todo(&mut items),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ---------- unexpected argument
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/cli/handler.rs:50:8
[INFO] [stdout]     |
[INFO] [stdout] 50  | pub fn complete_todo() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 142 -             3 => complete_todo(&mut items),
[INFO] [stdout] 142 +             3 => complete_todo(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-rust` (bin "todo-rust") due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "3eef9d82a6610c03de004bc6a2d6a267c326109dfe0e15ada10f9fe4c35912ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3eef9d82a6610c03de004bc6a2d6a267c326109dfe0e15ada10f9fe4c35912ca", kill_on_drop: false }`
[INFO] [stdout] 3eef9d82a6610c03de004bc6a2d6a267c326109dfe0e15ada10f9fe4c35912ca
