[INFO] updating cached repository https://github.com/ItsaMeTuni/rust-cli-todo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cee188e0b18fa92a0889f40deaaa88091415014e [INFO] checking ItsaMeTuni/rust-cli-todo against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItsaMeTuni%2Frust-cli-todo" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ItsaMeTuni/rust-cli-todo on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ItsaMeTuni/rust-cli-todo [INFO] finished tweaking git repo https://github.com/ItsaMeTuni/rust-cli-todo [INFO] tweaked toml for git repo https://github.com/ItsaMeTuni/rust-cli-todo written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/ItsaMeTuni/rust-cli-todo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dba193c19d84c2db4c5121182397b93874a14b3a3b877f8d7261750ba250a509 [INFO] running `"docker" "start" "-a" "dba193c19d84c2db4c5121182397b93874a14b3a3b877f8d7261750ba250a509"` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking cli-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | TaskStatus::Done => format!("{}", style::CrossedOut), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:142:61 [INFO] [stderr] | [INFO] [stderr] 142 | tasks.push(Task { id: id, title: title.clone(), status: TaskStatus::Pending }); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:158:30 [INFO] [stderr] | [INFO] [stderr] 158 | "pending" => TaskStatus::Pending, [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:159:31 [INFO] [stderr] | [INFO] [stderr] 159 | "progress" => TaskStatus::InProgress, [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:160:27 [INFO] [stderr] | [INFO] [stderr] 160 | "done" => TaskStatus::Done, [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Task` in this scope [INFO] [stderr] --> src/main.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | let mut tasks: Vec = load_tasks_from_disk(&file_path); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `load_tasks_from_disk` in this scope [INFO] [stderr] --> src/main.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | let mut tasks: Vec = load_tasks_from_disk(&file_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `save_tasks_to_disk` in this scope [INFO] [stderr] --> src/main.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | save_tasks_to_disk(&tasks, &file_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `save_tasks_to_disk` in this scope [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | save_tasks_to_disk(&tasks, &file_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Task` in this scope [INFO] [stderr] --> src/main.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | fn print_tasks(tasks: &Vec) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Task` in this scope [INFO] [stderr] --> src/main.rs:133:32 [INFO] [stderr] | [INFO] [stderr] 133 | fn create_task(tasks: &mut Vec, title: &String) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Task` in this scope [INFO] [stderr] --> src/main.rs:142:16 [INFO] [stderr] | [INFO] [stderr] 142 | tasks.push(Task { id: id, title: title.clone(), status: TaskStatus::Pending }); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Task` in this scope [INFO] [stderr] --> src/main.rs:148:36 [INFO] [stderr] | [INFO] [stderr] 148 | fn set_task_status(tasks: &mut Vec, task_id: &String, status: &String) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | TaskStatus::Done => format!("{}", style::CrossedOut), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:142:61 [INFO] [stderr] | [INFO] [stderr] 142 | tasks.push(Task { id: id, title: title.clone(), status: TaskStatus::Pending }); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:158:30 [INFO] [stderr] | [INFO] [stderr] 158 | "pending" => TaskStatus::Pending, [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:159:31 [INFO] [stderr] | [INFO] [stderr] 159 | "progress" => TaskStatus::InProgress, [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TaskStatus` [INFO] [stderr] --> src/main.rs:160:27 [INFO] [stderr] | [INFO] [stderr] 160 | "done" => TaskStatus::Done, [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TaskStatus` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Task` in this scope [INFO] [stderr] --> src/main.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | let mut tasks: Vec = load_tasks_from_disk(&file_path); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `load_tasks_from_disk` in this scope [INFO] [stderr] --> src/main.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | let mut tasks: Vec = load_tasks_from_disk(&file_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `save_tasks_to_disk` in this scope [INFO] [stderr] --> src/main.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | save_tasks_to_disk(&tasks, &file_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `save_tasks_to_disk` in this scope [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | save_tasks_to_disk(&tasks, &file_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Task` in this scope [INFO] [stderr] --> src/main.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | fn print_tasks(tasks: &Vec) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Task` in this scope [INFO] [stderr] --> src/main.rs:133:32 [INFO] [stderr] | [INFO] [stderr] 133 | fn create_task(tasks: &mut Vec, title: &String) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Task` in this scope [INFO] [stderr] --> src/main.rs:142:16 [INFO] [stderr] | [INFO] [stderr] 142 | tasks.push(Task { id: id, title: title.clone(), status: TaskStatus::Pending }); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Task` in this scope [INFO] [stderr] --> src/main.rs:148:36 [INFO] [stderr] | [INFO] [stderr] 148 | fn set_task_status(tasks: &mut Vec, task_id: &String, status: &String) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use crate::types::Task; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in closure arguments [INFO] [stderr] --> src/types.rs:52:36 [INFO] [stderr] | [INFO] [stderr] 52 | match self.tags.iter().find(|tag_name: &String| tag.name == *tag_name) [INFO] [stderr] | ^^^^ ----------------------------------------- found signature of `for<'r> fn(&'r std::string::String) -> _` [INFO] [stderr] | | [INFO] [stderr] | expected signature of `for<'r> fn(&'r &std::string::String) -> _` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/types.rs:62:34 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn get_deadline_str() -> String [INFO] [stderr] | ---------------- ^^^^^^ expected struct `std::string::String`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_deadline` found for reference `&types::Task` in the current scope [INFO] [stderr] --> src/output.rs:29:29 [INFO] [stderr] | [INFO] [stderr] 29 | let deadline = task.get_deadline(); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `&types::Task` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433, E0599, E0631. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `cli-todo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0631]: type mismatch in closure arguments [INFO] [stderr] --> src/types.rs:52:36 [INFO] [stderr] | [INFO] [stderr] 52 | match self.tags.iter().find(|tag_name: &String| tag.name == *tag_name) [INFO] [stderr] | ^^^^ ----------------------------------------- found signature of `for<'r> fn(&'r std::string::String) -> _` [INFO] [stderr] | | [INFO] [stderr] | expected signature of `for<'r> fn(&'r &std::string::String) -> _` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/types.rs:62:34 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn get_deadline_str() -> String [INFO] [stderr] | ---------------- ^^^^^^ expected struct `std::string::String`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_deadline` found for reference `&types::Task` in the current scope [INFO] [stderr] --> src/output.rs:29:29 [INFO] [stderr] | [INFO] [stderr] 29 | let deadline = task.get_deadline(); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `&types::Task` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433, E0599, E0631. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `cli-todo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "dba193c19d84c2db4c5121182397b93874a14b3a3b877f8d7261750ba250a509"` [INFO] running `"docker" "rm" "-f" "dba193c19d84c2db4c5121182397b93874a14b3a3b877f8d7261750ba250a509"` [INFO] [stdout] dba193c19d84c2db4c5121182397b93874a14b3a3b877f8d7261750ba250a509