[INFO] cloning repository https://github.com/zapkub/rust-todo-gui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zapkub/rust-todo-gui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzapkub%2Frust-todo-gui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzapkub%2Frust-todo-gui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73d77d4354a14d1db58ad2f8917892fb33cfd93c [INFO] checking zapkub/rust-todo-gui against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzapkub%2Frust-todo-gui" "/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/zapkub/rust-todo-gui [INFO] finished tweaking git repo https://github.com/zapkub/rust-todo-gui [INFO] tweaked toml for git repo https://github.com/zapkub/rust-todo-gui written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zapkub/rust-todo-gui on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zapkub/rust-todo-gui 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 055942000e782565b2f2c4bebb4ca2337fc9053a6ba0895f6c2429ee2635e9f0 [INFO] running `Command { std: "docker" "start" "-a" "055942000e782565b2f2c4bebb4ca2337fc9053a6ba0895f6c2429ee2635e9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "055942000e782565b2f2c4bebb4ca2337fc9053a6ba0895f6c2429ee2635e9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "055942000e782565b2f2c4bebb4ca2337fc9053a6ba0895f6c2429ee2635e9f0", kill_on_drop: false }` [INFO] [stdout] 055942000e782565b2f2c4bebb4ca2337fc9053a6ba0895f6c2429ee2635e9f0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10b0a3c80f3dbb112269b0098cea09518c8313d9c0ceb370cdf089fcf6997a63 [INFO] running `Command { std: "docker" "start" "-a" "10b0a3c80f3dbb112269b0098cea09518c8313d9c0ceb370cdf089fcf6997a63", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling gio v0.18.2 [INFO] [stderr] Compiling semver v1.0.19 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking notify v5.2.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling uuid-macro-internal v1.4.1 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking todolib v0.1.0 (/opt/rustwide/workdir/todolib) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [INFO] [stdout] --> todolib/src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | log::info!("Change: {event:?}"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [INFO] [stdout] --> todolib/src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | log::error!("Error: {error:?}"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [INFO] [stdout] --> todolib/src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | log::info!("Change: {event:?}"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [INFO] [stdout] --> todolib/src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | log::error!("Error: {error:?}"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> todolib/src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&self, name: String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> todolib/src/lib.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn mark_as(&self, id: Uuid, is_done: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_done` [INFO] [stdout] --> todolib/src/lib.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn mark_as(&self, id: Uuid, is_done: bool) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_done` [INFO] [stdout] --> todolib/src/lib.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn mark_all_as(&self, is_done: bool) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> todolib/src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn remove(&self, id: Uuid) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todolib` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> todolib/src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | watch_todo_records("/tmp/todo_record_test".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), notify::Error>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 59 | watch_todo_records("/tmp/todo_record_test".to_string()); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 58 | fn watch_todo_record_test() -> Result<(), notify::Error> { [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), notify::Error>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 59 | watch_todo_records("/tmp/todo_record_test".to_string()).expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> todolib/src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&self, name: String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> todolib/src/lib.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn mark_as(&self, id: Uuid, is_done: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_done` [INFO] [stdout] --> todolib/src/lib.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn mark_as(&self, id: Uuid, is_done: bool) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_done` [INFO] [stdout] --> todolib/src/lib.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn mark_all_as(&self, is_done: bool) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> todolib/src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn remove(&self, id: Uuid) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todolib` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "10b0a3c80f3dbb112269b0098cea09518c8313d9c0ceb370cdf089fcf6997a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b0a3c80f3dbb112269b0098cea09518c8313d9c0ceb370cdf089fcf6997a63", kill_on_drop: false }` [INFO] [stdout] 10b0a3c80f3dbb112269b0098cea09518c8313d9c0ceb370cdf089fcf6997a63