[INFO] cloning repository https://github.com/Bocanada/rust-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bocanada/rust-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBocanada%2Frust-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBocanada%2Frust-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e3ebe6515c718f22659f138ac4ebd7fbbc8e576 [INFO] checking Bocanada/rust-todo against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBocanada%2Frust-todo" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bocanada/rust-todo on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bocanada/rust-todo [INFO] finished tweaking git repo https://github.com/Bocanada/rust-todo [INFO] tweaked toml for git repo https://github.com/Bocanada/rust-todo written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Bocanada/rust-todo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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 rusqlite v0.24.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb2223fce348e4e31f2077220c059c42b7b8897adbb7dff2d09a826e4d48645d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fb2223fce348e4e31f2077220c059c42b7b8897adbb7dff2d09a826e4d48645d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb2223fce348e4e31f2077220c059c42b7b8897adbb7dff2d09a826e4d48645d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb2223fce348e4e31f2077220c059c42b7b8897adbb7dff2d09a826e4d48645d", kill_on_drop: false }` [INFO] [stdout] fb2223fce348e4e31f2077220c059c42b7b8897adbb7dff2d09a826e4d48645d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feb42ffd734ad157a9cf55bb7d4a8616769a7fb2fb5d92be038cc81df8a9aacc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "feb42ffd734ad157a9cf55bb7d4a8616769a7fb2fb5d92be038cc81df8a9aacc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking todorust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Datelike`, `ParseResult` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Datelike, NaiveDate, ParseResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `todo::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use todo::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Datelike`, `ParseResult` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Datelike, NaiveDate, ParseResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `todo::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use todo::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let dt = get_date(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/todo.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_to_db` [INFO] [stdout] --> src/todo.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn save_to_db(&mut self, sqlite_conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_table` [INFO] [stdout] --> src/todo.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn create_table(db_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `all_tasks` [INFO] [stdout] --> src/todo.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn all_tasks(sqlite_conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Item` [INFO] [stdout] --> src/todo.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | type Item = dyn core::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `loop_and_print` [INFO] [stdout] --> src/todo.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn loop_and_print

( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `today_tasks` [INFO] [stdout] --> src/todo.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) fn today_tasks(sqlite_conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `week_tasks` [INFO] [stdout] --> src/todo.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | pub(crate) fn week_tasks(sqlite_conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `missed_tasks` [INFO] [stdout] --> src/todo.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) fn missed_tasks(sqlite_conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/todo.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | assert_ne!(task.id, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `task` on type `Todo` [INFO] [stdout] --> src/todo.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(task.task, "asd".to_string()); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `name`, `deadline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todorust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "feb42ffd734ad157a9cf55bb7d4a8616769a7fb2fb5d92be038cc81df8a9aacc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb42ffd734ad157a9cf55bb7d4a8616769a7fb2fb5d92be038cc81df8a9aacc", kill_on_drop: false }` [INFO] [stdout] feb42ffd734ad157a9cf55bb7d4a8616769a7fb2fb5d92be038cc81df8a9aacc