[INFO] cloning repository https://github.com/mfathonin/rustodo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfathonin/rustodo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfathonin%2Frustodo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfathonin%2Frustodo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65eb1407785586202cb00431f2921ad0de3393af [INFO] checking mfathonin/rustodo against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfathonin%2Frustodo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mfathonin/rustodo [INFO] finished tweaking git repo https://github.com/mfathonin/rustodo [INFO] tweaked toml for git repo https://github.com/mfathonin/rustodo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mfathonin/rustodo on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mfathonin/rustodo 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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "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 proc-macro2 v1.0.80 [INFO] [stderr] Downloaded pq-sys v0.4.8 [INFO] [stderr] Downloaded diesel_derives v2.1.4 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded diesel v2.1.6 [INFO] [stderr] Downloaded syn v2.0.59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89c5847f9eb029daf76550939ad47af6b621d1eaa50986de7f7af5e3e2f9b9bf [INFO] running `Command { std: "docker" "start" "-a" "89c5847f9eb029daf76550939ad47af6b621d1eaa50986de7f7af5e3e2f9b9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89c5847f9eb029daf76550939ad47af6b621d1eaa50986de7f7af5e3e2f9b9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c5847f9eb029daf76550939ad47af6b621d1eaa50986de7f7af5e3e2f9b9bf", kill_on_drop: false }` [INFO] [stdout] 89c5847f9eb029daf76550939ad47af6b621d1eaa50986de7f7af5e3e2f9b9bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd26adcf0813b1e7f105e2c9e45a2b01032570a47dd066c64e369bee4601c599 [INFO] running `Command { std: "docker" "start" "-a" "bd26adcf0813b1e7f105e2c9e45a2b01032570a47dd066c64e369bee4601c599", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking rustodo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `schema` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `schema`, create file "src/schema.rs" or "src/schema/mod.rs" [INFO] [stdout] = note: if there is a `mod schema` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `schema` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `schema`, create file "src/schema.rs" or "src/schema/mod.rs" [INFO] [stdout] = note: if there is a `mod schema` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `todos` in `schema` [INFO] [stdout] --> src/todo/repository.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::todos::{dsl::*, table}; [INFO] [stdout] | ^^^^^ could not find `todos` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `todos` in `schema` [INFO] [stdout] --> src/todo/repository.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::todos::{dsl::*, table}; [INFO] [stdout] | ^^^^^ could not find `todos` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `todos` in this scope [INFO] [stdout] --> src/todo/repository.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | let res = todos [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `done` in this scope [INFO] [stdout] --> src/todo/repository.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | .order(done.asc()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:601:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 - .order(done.asc()) [INFO] [stdout] 10 + .order(None.asc()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `todos` in this scope [INFO] [stdout] --> src/todo/repository.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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/todo/repository.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | diesel::update(todos.find(todo_id)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `done` in this scope [INFO] [stdout] --> src/todo/repository.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | .set(done.eq(!cur_todo.done)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:601:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 - .set(done.eq(!cur_todo.done)) [INFO] [stdout] 40 + .set(None.eq(!cur_todo.done)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `todos` in this scope [INFO] [stdout] --> src/todo/repository.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | diesel::delete(todos.find(todo_id)) [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/todo/repository.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | diesel::delete(todos.filter(done.eq(true))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `done` in this scope [INFO] [stdout] --> src/todo/repository.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | diesel::delete(todos.filter(done.eq(true))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:601:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 53 - diesel::delete(todos.filter(done.eq(true))) [INFO] [stdout] 53 + diesel::delete(todos.filter(None.eq(true))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `todos` in this scope [INFO] [stdout] --> src/todo/repository.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | let res = todos [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `done` in this scope [INFO] [stdout] --> src/todo/repository.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | .order(done.asc()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:601:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 - .order(done.asc()) [INFO] [stdout] 10 + .order(None.asc()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `todos` in this scope [INFO] [stdout] --> src/todo/repository.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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/todo/repository.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | diesel::update(todos.find(todo_id)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `done` in this scope [INFO] [stdout] --> src/todo/repository.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | .set(done.eq(!cur_todo.done)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:601:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 - .set(done.eq(!cur_todo.done)) [INFO] [stdout] 40 + .set(None.eq(!cur_todo.done)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `todos` in this scope [INFO] [stdout] --> src/todo/repository.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | diesel::delete(todos.find(todo_id)) [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/todo/repository.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | diesel::delete(todos.filter(done.eq(true))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `done` in this scope [INFO] [stdout] --> src/todo/repository.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | diesel::delete(todos.filter(done.eq(true))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:601:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 53 - diesel::delete(todos.filter(done.eq(true))) [INFO] [stdout] 53 + diesel::delete(todos.filter(None.eq(true))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustodo` (bin "rustodo" test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustodo` (bin "rustodo") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "bd26adcf0813b1e7f105e2c9e45a2b01032570a47dd066c64e369bee4601c599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd26adcf0813b1e7f105e2c9e45a2b01032570a47dd066c64e369bee4601c599", kill_on_drop: false }` [INFO] [stdout] bd26adcf0813b1e7f105e2c9e45a2b01032570a47dd066c64e369bee4601c599