[INFO] cloning repository https://github.com/CoderzHub1/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/CoderzHub1/todo-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoderzHub1%2Ftodo-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoderzHub1%2Ftodo-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9a46da716cceb5465415403a5f3829629b59851
[INFO] testing CoderzHub1/todo-rust against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoderzHub1%2Ftodo-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CoderzHub1/todo-rust
[INFO] finished tweaking git repo https://github.com/CoderzHub1/todo-rust
[INFO] tweaked toml for git repo https://github.com/CoderzHub1/todo-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CoderzHub1/todo-rust on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CoderzHub1/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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b9c5997875f5cfb7d86faf82825c867344d4b1a02063f2fd8cf0891901b566a
[INFO] running `Command { std: "docker" "start" "-a" "0b9c5997875f5cfb7d86faf82825c867344d4b1a02063f2fd8cf0891901b566a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b9c5997875f5cfb7d86faf82825c867344d4b1a02063f2fd8cf0891901b566a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b9c5997875f5cfb7d86faf82825c867344d4b1a02063f2fd8cf0891901b566a", kill_on_drop: false }`
[INFO] [stdout] 0b9c5997875f5cfb7d86faf82825c867344d4b1a02063f2fd8cf0891901b566a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc212bbdad5cea62a25356d2bbc52f22e14d1264a558d98966bdc2bf381ceea0
[INFO] running `Command { std: "docker" "start" "-a" "dc212bbdad5cea62a25356d2bbc52f22e14d1264a558d98966bdc2bf381ceea0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling owo-colors v3.5.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling todo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.25s
[INFO] running `Command { std: "docker" "inspect" "dc212bbdad5cea62a25356d2bbc52f22e14d1264a558d98966bdc2bf381ceea0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc212bbdad5cea62a25356d2bbc52f22e14d1264a558d98966bdc2bf381ceea0", kill_on_drop: false }`
[INFO] [stdout] dc212bbdad5cea62a25356d2bbc52f22e14d1264a558d98966bdc2bf381ceea0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b369a91ce175a49955a71aa29d0dbfb6b0d469777bb95648d6ba7290a7357cc5
[INFO] running `Command { std: "docker" "start" "-a" "b369a91ce175a49955a71aa29d0dbfb6b0d469777bb95648d6ba7290a7357cc5", kill_on_drop: false }`
[INFO] [stderr]    Compiling todo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s
[INFO] running `Command { std: "docker" "inspect" "b369a91ce175a49955a71aa29d0dbfb6b0d469777bb95648d6ba7290a7357cc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b369a91ce175a49955a71aa29d0dbfb6b0d469777bb95648d6ba7290a7357cc5", kill_on_drop: false }`
[INFO] [stdout] b369a91ce175a49955a71aa29d0dbfb6b0d469777bb95648d6ba7290a7357cc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5480f315ab51590e35092483f347a317761fcb70f310c636c4580157a59a3bdf
[INFO] running `Command { std: "docker" "start" "-a" "5480f315ab51590e35092483f347a317761fcb70f310c636c4580157a59a3bdf", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/todo-9af2041eeaf22867)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/todo-04e4baed305bfebb)
[INFO] [stderr]    Doc-tests todo
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/tasks/extract_tasks.rs - tasks::extract_tasks::extract_tasks (line 22) ... FAILED
[INFO] [stdout] test src/tasks/extract_tasks.rs - tasks::extract_tasks::update_task (line 68) ... FAILED
[INFO] [stdout] test src/tasks/manage_tasks.rs - tasks::manage_tasks::add_task (line 29) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/tasks/extract_tasks.rs - tasks::extract_tasks::extract_tasks (line 22) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `extract_tasks` in this scope
[INFO] [stdout]   --> src/tasks/extract_tasks.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | let tasks = extract_tasks(&db)?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 22 + use todo::tasks::extract_tasks::extract_tasks;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]   --> src/tasks/extract_tasks.rs:23:28
[INFO] [stdout]    |
[INFO] [stdout] 23 | let tasks = extract_tasks(&db)?;
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tasks/extract_tasks.rs - tasks::extract_tasks::update_task (line 68) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Task` in this scope
[INFO] [stdout]   --> src/tasks/extract_tasks.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 | let mut my_tasks:Vec<Task> = vec![];
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 68 + use todo::tasks::tasks::Task;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update_task` in this scope
[INFO] [stdout]   --> src/tasks/extract_tasks.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | update_task(&mut my_tasks, &db, task_id, status)?;
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 68 + use todo::tasks::extract_tasks::update_task;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/tasks/extract_tasks.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tasks_extract_tasks_rs_68_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 69 | let mut my_tasks:Vec<Task> = vec![];
[INFO] [stdout] 70 | let db = sled::open("database_name")?;
[INFO] [stdout]    |                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 68 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tasks_extract_tasks_rs_68_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 69 | let mut my_tasks:Vec<Task> = vec![];
[INFO] [stdout] ...
[INFO] [stdout] 73 | update_task(&mut my_tasks, &db, task_id, status)?;
[INFO] [stdout] 74 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tasks/manage_tasks.rs - tasks::manage_tasks::add_task (line 29) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Task` in this scope
[INFO] [stdout]   --> src/tasks/manage_tasks.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 | let new_task = Task { id: 1, name: String::from("Buy milk"), completed: false };
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 29 + use todo::tasks::tasks::Task;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_task` in this scope
[INFO] [stdout]   --> src/tasks/manage_tasks.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | add_task(&db, &mut tasks, new_task)?;
[INFO] [stdout]    | ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 29 + use todo::tasks::manage_tasks::add_task;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/tasks/manage_tasks.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tasks_manage_tasks_rs_29_0() {
[INFO] [stdout]    |                                      ------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 30 | let db = sled::open("tasks")?;
[INFO] [stdout]    |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 29 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tasks_manage_tasks_rs_29_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 30 | let db = sled::open("tasks")?;
[INFO] [stdout] ...
[INFO] [stdout] 33 | add_task(&db, &mut tasks, new_task)?;
[INFO] [stdout] 34 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/tasks/extract_tasks.rs - tasks::extract_tasks::extract_tasks (line 22)
[INFO] [stdout]     src/tasks/extract_tasks.rs - tasks::extract_tasks::update_task (line 68)
[INFO] [stdout]     src/tasks/manage_tasks.rs - tasks::manage_tasks::add_task (line 29)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.24s; merged doctests compilation took 0.12s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5480f315ab51590e35092483f347a317761fcb70f310c636c4580157a59a3bdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5480f315ab51590e35092483f347a317761fcb70f310c636c4580157a59a3bdf", kill_on_drop: false }`
[INFO] [stdout] 5480f315ab51590e35092483f347a317761fcb70f310c636c4580157a59a3bdf
