[INFO] cloning repository https://github.com/cedizone/ToDo_List [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cedizone/ToDo_List" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcedizone%2FToDo_List", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcedizone%2FToDo_List'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc5c5d0b0c239a218ca3386449b3d4121faee592 [INFO] checking cedizone/ToDo_List/cc5c5d0b0c239a218ca3386449b3d4121faee592 against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcedizone%2FToDo_List" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cedizone/ToDo_List on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cedizone/ToDo_List [INFO] finished tweaking git repo https://github.com/cedizone/ToDo_List [INFO] tweaked toml for git repo https://github.com/cedizone/ToDo_List written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cedizone/ToDo_List 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f1d08c84130e9f2f0a767fab57603446a9ccfa424248f4e9d5a3b94253af7e2 [INFO] running `Command { std: "docker" "start" "-a" "4f1d08c84130e9f2f0a767fab57603446a9ccfa424248f4e9d5a3b94253af7e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f1d08c84130e9f2f0a767fab57603446a9ccfa424248f4e9d5a3b94253af7e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1d08c84130e9f2f0a767fab57603446a9ccfa424248f4e9d5a3b94253af7e2", kill_on_drop: false }` [INFO] [stdout] 4f1d08c84130e9f2f0a767fab57603446a9ccfa424248f4e9d5a3b94253af7e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e42d49ba9c7c7d1184d6020d6be3885ce9007862a32319abf89ba59c97908bdd [INFO] running `Command { std: "docker" "start" "-a" "e42d49ba9c7c7d1184d6020d6be3885ce9007862a32319abf89ba59c97908bdd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking ToDolist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `check_due_items` in this scope [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | check_due_items(todo_list_clone); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_due_items` in this scope [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | check_due_items(todo_list_clone); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_local_datetime` found for struct `Local` in the current scope [INFO] [stdout] --> src/main.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | let datetime = Local [INFO] [stdout] | ____________________________- [INFO] [stdout] 155 | | .from_local_datetime(&date.and_time(time)) [INFO] [stdout] | |_________________-^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.24/src/offset/mod.rs:464:8 [INFO] [stdout] | [INFO] [stdout] 464 | fn from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult> { [INFO] [stdout] | ------------------- the method is available for `Local` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TimeZone` which provides `from_local_datetime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::chrono::TimeZone; [INFO] [stdout] | [INFO] [stdout] help: there is a method `from_local_date` with a similar name [INFO] [stdout] | [INFO] [stdout] 155 | .from_local_date(&date.and_time(time)) [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_local_datetime` found for struct `Local` in the current scope [INFO] [stdout] --> src/main.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | let datetime = Local [INFO] [stdout] | ____________________________- [INFO] [stdout] 155 | | .from_local_datetime(&date.and_time(time)) [INFO] [stdout] | |_________________-^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.24/src/offset/mod.rs:464:8 [INFO] [stdout] | [INFO] [stdout] 464 | fn from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult> { [INFO] [stdout] | ------------------- the method is available for `Local` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TimeZone` which provides `from_local_datetime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::chrono::TimeZone; [INFO] [stdout] | [INFO] [stdout] help: there is a method `from_local_date` with a similar name [INFO] [stdout] | [INFO] [stdout] 155 | .from_local_date(&date.and_time(time)) [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:209:41 [INFO] [stdout] | [INFO] [stdout] 209 | let due_time = Local::now().date().and_time(time).with_timezone(&chrono::Utc).into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | #[warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:209:41 [INFO] [stdout] | [INFO] [stdout] 209 | let due_time = Local::now().date().and_time(time).with_timezone(&chrono::Utc).into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | #[warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_timezone` found for enum `Option` in the current scope [INFO] [stdout] --> src/main.rs:209:63 [INFO] [stdout] | [INFO] [stdout] 209 | let due_time = Local::now().date().and_time(time).with_timezone(&chrono::Utc).into(); [INFO] [stdout] | ------------ ------ ^^^^^^^^^^^^^ method not found in `Option>` [INFO] [stdout] | | | [INFO] [stdout] | | method `with_timezone` is available on `&Date` [INFO] [stdout] | method `with_timezone` is available on `&DateTime` [INFO] [stdout] | [INFO] [stdout] note: the method `with_timezone` exists on the type `DateTime` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.24/src/datetime/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn with_timezone(&self, tz: &Tz2) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `DateTime` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 209 | let due_time = Local::now().date().and_time(time).expect("REASON").with_timezone(&chrono::Utc).into(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_timezone` found for enum `Option` in the current scope [INFO] [stdout] --> src/main.rs:209:63 [INFO] [stdout] | [INFO] [stdout] 209 | let due_time = Local::now().date().and_time(time).with_timezone(&chrono::Utc).into(); [INFO] [stdout] | ------------ ------ ^^^^^^^^^^^^^ method not found in `Option>` [INFO] [stdout] | | | [INFO] [stdout] | | method `with_timezone` is available on `&Date` [INFO] [stdout] | method `with_timezone` is available on `&DateTime` [INFO] [stdout] | [INFO] [stdout] note: the method `with_timezone` exists on the type `DateTime` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.24/src/datetime/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn with_timezone(&self, tz: &Tz2) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `DateTime` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 209 | let due_time = Local::now().date().and_time(time).expect("REASON").with_timezone(&chrono::Utc).into(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_item_time` found for struct `MutexGuard<'_, TodoList>` in the current scope [INFO] [stdout] --> src/main.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | match todo_list.lock().unwrap().set_item_time(name, due_time) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_items` with a similar name, but with different arguments [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_items(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_item_time` found for struct `MutexGuard<'_, TodoList>` in the current scope [INFO] [stdout] --> src/main.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | match todo_list.lock().unwrap().set_item_time(name, due_time) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_items` with a similar name, but with different arguments [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_items(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ToDolist` (bin "ToDolist") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ToDolist` (bin "ToDolist" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e42d49ba9c7c7d1184d6020d6be3885ce9007862a32319abf89ba59c97908bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e42d49ba9c7c7d1184d6020d6be3885ce9007862a32319abf89ba59c97908bdd", kill_on_drop: false }` [INFO] [stdout] e42d49ba9c7c7d1184d6020d6be3885ce9007862a32319abf89ba59c97908bdd