[INFO] cloning repository https://github.com/ik1ne/command-line-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ik1ne/command-line-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fik1ne%2Fcommand-line-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fik1ne%2Fcommand-line-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2b0246b84c16e4873893e9ac33286bb915a3a30 [INFO] testing ik1ne/command-line-rust against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fik1ne%2Fcommand-line-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ik1ne/command-line-rust on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ik1ne/command-line-rust [INFO] finished tweaking git repo https://github.com/ik1ne/command-line-rust [INFO] tweaked toml for git repo https://github.com/ik1ne/command-line-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ik1ne/command-line-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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14a17b2227c34f0cf64b567ef6fccab486348a2adf755704f948661f2ad1c315 [INFO] running `Command { std: "docker" "start" "-a" "14a17b2227c34f0cf64b567ef6fccab486348a2adf755704f948661f2ad1c315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14a17b2227c34f0cf64b567ef6fccab486348a2adf755704f948661f2ad1c315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a17b2227c34f0cf64b567ef6fccab486348a2adf755704f948661f2ad1c315", kill_on_drop: false }` [INFO] [stdout] 14a17b2227c34f0cf64b567ef6fccab486348a2adf755704f948661f2ad1c315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4c17d758b320e0a5c316b5f06318fe61af0c6700c2b932dd94aa3053b9845de [INFO] running `Command { std: "docker" "start" "-a" "b4c17d758b320e0a5c316b5f06318fe61af0c6700c2b932dd94aa3053b9845de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling commr v0.1.0 (/opt/rustwide/workdir/9-commr) [INFO] [stderr] Compiling catr v0.1.0 (/opt/rustwide/workdir/2-catr) [INFO] [stderr] Compiling headr v0.1.0 (/opt/rustwide/workdir/3-headr) [INFO] [stderr] Compiling tailr v0.1.0 (/opt/rustwide/workdir/10-tailr) [INFO] [stderr] Compiling template v0.1.0 (/opt/rustwide/workdir/0-template) [INFO] [stderr] Compiling grepr v0.1.0 (/opt/rustwide/workdir/8-grepr) [INFO] [stderr] Compiling wcr v0.1.0 (/opt/rustwide/workdir/4-wcr) [INFO] [stderr] Compiling fortuner v0.1.0 (/opt/rustwide/workdir/11-fortuner) [INFO] [stderr] Compiling echor v0.1.0 (/opt/rustwide/workdir/1-echor) [INFO] [stderr] Compiling cutr v0.1.0 (/opt/rustwide/workdir/7-cutr) [INFO] [stderr] Compiling findr v0.1.0 (/opt/rustwide/workdir/6-findr) [INFO] [stderr] Compiling calr v0.1.0 (/opt/rustwide/workdir/12-calr) [INFO] [stderr] Compiling uniqr v0.1.0 (/opt/rustwide/workdir/5-uniqr) [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> 12-calr/src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let last = last_day_in_month(year, month); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> 12-calr/src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut days = std::iter::repeat_with(|| " ".to_string()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print_year` [INFO] [stdout] --> 12-calr/src/main.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `today` [INFO] [stdout] --> 12-calr/src/main.rs:82:58 [INFO] [stdout] | [INFO] [stdout] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_today` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> 12-calr/src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut days = std::iter::repeat_with(|| " ".to_string()) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_month` is never used [INFO] [stdout] --> 12-calr/src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_day_in_month` is never used [INFO] [stdout] --> 12-calr/src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn last_day_in_month(year: i32, month: u32) -> NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.05s [INFO] running `Command { std: "docker" "inspect" "b4c17d758b320e0a5c316b5f06318fe61af0c6700c2b932dd94aa3053b9845de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4c17d758b320e0a5c316b5f06318fe61af0c6700c2b932dd94aa3053b9845de", kill_on_drop: false }` [INFO] [stdout] b4c17d758b320e0a5c316b5f06318fe61af0c6700c2b932dd94aa3053b9845de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50e7c0a63eaef63d177310ecdaefb49f15b314232927420b29d9168485b94207 [INFO] running `Command { std: "docker" "start" "-a" "50e7c0a63eaef63d177310ecdaefb49f15b314232927420b29d9168485b94207", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling cutr v0.1.0 (/opt/rustwide/workdir/7-cutr) [INFO] [stderr] Compiling template v0.1.0 (/opt/rustwide/workdir/0-template) [INFO] [stderr] Compiling fortuner v0.1.0 (/opt/rustwide/workdir/11-fortuner) [INFO] [stderr] Compiling commr v0.1.0 (/opt/rustwide/workdir/9-commr) [INFO] [stderr] Compiling calr v0.1.0 (/opt/rustwide/workdir/12-calr) [INFO] [stderr] Compiling findr v0.1.0 (/opt/rustwide/workdir/6-findr) [INFO] [stderr] Compiling grepr v0.1.0 (/opt/rustwide/workdir/8-grepr) [INFO] [stderr] Compiling tailr v0.1.0 (/opt/rustwide/workdir/10-tailr) [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> 12-calr/src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let last = last_day_in_month(year, month); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> 12-calr/src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut days = std::iter::repeat_with(|| " ".to_string()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print_year` [INFO] [stdout] --> 12-calr/src/main.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `today` [INFO] [stdout] --> 12-calr/src/main.rs:82:58 [INFO] [stdout] | [INFO] [stdout] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_today` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> 12-calr/src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut days = std::iter::repeat_with(|| " ".to_string()) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_month` is never used [INFO] [stdout] --> 12-calr/src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_day_in_month` is never used [INFO] [stdout] --> 12-calr/src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn last_day_in_month(year: i32, month: u32) -> NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling echor v0.1.0 (/opt/rustwide/workdir/1-echor) [INFO] [stderr] Compiling catr v0.1.0 (/opt/rustwide/workdir/2-catr) [INFO] [stderr] Compiling uniqr v0.1.0 (/opt/rustwide/workdir/5-uniqr) [INFO] [stderr] Compiling headr v0.1.0 (/opt/rustwide/workdir/3-headr) [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> 12-calr/src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let last = last_day_in_month(year, month); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> 12-calr/src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut days = std::iter::repeat_with(|| " ".to_string()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print_year` [INFO] [stdout] --> 12-calr/src/main.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `today` [INFO] [stdout] --> 12-calr/src/main.rs:82:58 [INFO] [stdout] | [INFO] [stdout] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_today` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> 12-calr/src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut days = std::iter::repeat_with(|| " ".to_string()) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wcr v0.1.0 (/opt/rustwide/workdir/4-wcr) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.53s [INFO] running `Command { std: "docker" "inspect" "50e7c0a63eaef63d177310ecdaefb49f15b314232927420b29d9168485b94207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e7c0a63eaef63d177310ecdaefb49f15b314232927420b29d9168485b94207", kill_on_drop: false }` [INFO] [stdout] 50e7c0a63eaef63d177310ecdaefb49f15b314232927420b29d9168485b94207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 38481b84f6a03fc4a1f462d81b90afecacbb02ec95f757c69178d8e798da1b86 [INFO] running `Command { std: "docker" "start" "-a" "38481b84f6a03fc4a1f462d81b90afecacbb02ec95f757c69178d8e798da1b86", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `last` [INFO] [stderr] --> 12-calr/src/main.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | let last = last_day_in_month(year, month); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `days` [INFO] [stderr] --> 12-calr/src/main.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | let mut days = std::iter::repeat_with(|| " ".to_string()) [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `print_year` [INFO] [stderr] --> 12-calr/src/main.rs:82:40 [INFO] [stderr] | [INFO] [stderr] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_year` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `today` [INFO] [stderr] --> 12-calr/src/main.rs:82:58 [INFO] [stderr] | [INFO] [stderr] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_today` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> 12-calr/src/main.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | let mut days = std::iter::repeat_with(|| " ".to_string()) [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `format_month` is never used [INFO] [stderr] --> 12-calr/src/main.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn format_month(year: i32, month: u32, print_year: bool, today: NaiveDate) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `last_day_in_month` is never used [INFO] [stderr] --> 12-calr/src/main.rs:92:4 [INFO] [stderr] | [INFO] [stderr] 92 | fn last_day_in_month(year: i32, month: u32) -> NaiveDate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `calr` (bin "calr") generated 7 warnings (run `cargo fix --bin "calr"` to apply 1 suggestion) [INFO] [stderr] warning: `calr` (bin "calr" test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/calr-b128ae3e5973f998) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_last_day_in_month ... ok [INFO] [stdout] test tests::test_parse_month ... ok [INFO] [stderr] error: test failed, to rerun pass `-p calr --bin calr` [INFO] [stdout] test tests::test_format_month ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_format_month stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_format_month' panicked at 12-calr/src/main.rs:89:5: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f0b1ad5ea20 - std::backtrace_rs::backtrace::libunwind::trace::hff7ffeb2055d56f7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5f0b1ad5ea20 - std::backtrace_rs::backtrace::trace_unsynchronized::he7b3446d48853094 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5f0b1ad5ea20 - std::sys::backtrace::_print_fmt::hc2f9f78a9d81f67e [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f0b1ad5ea20 - ::fmt::h222ded249a1f0b37 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f0b1ad87003 - core::fmt::rt::Argument::fmt::hf87ad28cd961f7a3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5f0b1ad87003 - core::fmt::write::h9275005cf35b8a10 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5f0b1ad5b263 - std::io::Write::write_fmt::h9c45a7064b117632 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5f0b1ad5e872 - std::sys::backtrace::BacktraceLock::print::hd225c6688b44ae93 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5f0b1ad5fe4f - std::panicking::default_hook::{{closure}}::h2b0bdfbf5b027ac9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5f0b1ad5fc68 - std::panicking::default_hook::ha8790851fc656c1a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5f0b1ad18ba5 - as core::ops::function::Fn>::call::hdad4d0506655a157 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 11: 0x5f0b1ad18ba5 - test::test_main::{{closure}}::hdf61abd52acd3de0 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5f0b1ad60943 - as core::ops::function::Fn>::call::h52c5bf698b1366e5 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 13: 0x5f0b1ad60943 - std::panicking::rust_panic_with_hook::ha306bc05bdb5b696 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5f0b1ad605c6 - std::panicking::begin_panic_handler::{{closure}}::h2c0d6e717a62810c [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:697:13 [INFO] [stdout] 15: 0x5f0b1ad5ef29 - std::sys::backtrace::__rust_end_short_backtrace::h1e7465e8c528d13d [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5f0b1ad6028d - rust_begin_unwind [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5f0b1ad859e0 - core::panicking::panic_fmt::h0c17c793f18e9c3f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5f0b1ad85a6c - core::panicking::panic::h08ffa1ac60ef8ff3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panicking.rs:145:5 [INFO] [stdout] 19: 0x5f0b1acdd187 - calr::format_month::h9fa7aa08cec7efeb [INFO] [stdout] at /opt/rustwide/workdir/12-calr/src/main.rs:89:5 [INFO] [stdout] 20: 0x5f0b1acde0f1 - calr::tests::test_format_month::h922f23eb89283b98 [INFO] [stdout] at /opt/rustwide/workdir/12-calr/src/main.rs:154:20 [INFO] [stdout] 21: 0x5f0b1acddf67 - calr::tests::test_format_month::{{closure}}::h37311dcd6e6b3455 [INFO] [stdout] at /opt/rustwide/workdir/12-calr/src/main.rs:142:27 [INFO] [stdout] 22: 0x5f0b1acdaa76 - core::ops::function::FnOnce::call_once::he4b20c2ee9393a74 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f0b1ad1e39b - core::ops::function::FnOnce::call_once::ha8d13c24f305262f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f0b1ad1e39b - test::__rust_begin_short_backtrace::hda7ed5913d26b4c3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:637:18 [INFO] [stdout] 25: 0x5f0b1ad1d218 - test::run_test_in_process::{{closure}}::h98799ac8ad05dc17 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:60 [INFO] [stdout] 26: 0x5f0b1ad1d218 - as core::ops::function::FnOnce<()>>::call_once::h9915be725ed5cec7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5f0b1ad1d218 - std::panicking::try::do_call::hdae5166dc0f6479b [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x5f0b1ad1d218 - std::panicking::try::h8fa0f35111734e43 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x5f0b1ad1d218 - std::panic::catch_unwind::h2c5c178909d676e7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x5f0b1ad1d218 - test::run_test_in_process::h2157e57f25733f22 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:27 [INFO] [stdout] 31: 0x5f0b1ad1d218 - test::run_test::{{closure}}::h22055a3e9dc56ab9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:581:43 [INFO] [stdout] 32: 0x5f0b1ace01d5 - test::run_test::{{closure}}::h0de666e52c64b314 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:611:41 [INFO] [stdout] 33: 0x5f0b1ace01d5 - std::sys::backtrace::__rust_begin_short_backtrace::hc24dfc6dbc7f5867 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5f0b1ace3b5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h036a075b14c8a889 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5f0b1ace3b5a - as core::ops::function::FnOnce<()>>::call_once::h77e5e1e1c11b3182 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5f0b1ace3b5a - std::panicking::try::do_call::h64009ce4a7d5024a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x5f0b1ace3b5a - std::panicking::try::h9f253851f45b6cf2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x5f0b1ace3b5a - std::panic::catch_unwind::hbcdf318df191e0d2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x5f0b1ace3b5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b0514eb1722a9bb [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5f0b1ace3b5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h49ed8239622cf2ed [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f0b1ad6474b - as core::ops::function::FnOnce>::call_once::h5d46408001e51da6 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 42: 0x5f0b1ad6474b - as core::ops::function::FnOnce>::call_once::hfb44b07af29285a8 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x5f0b1ad6474b - std::sys::pal::unix::thread::Thread::new::thread_start::h3fe202b40d9df201 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x708c7f71fac3 - [INFO] [stdout] 45: 0x708c7f7b0a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_format_month [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "38481b84f6a03fc4a1f462d81b90afecacbb02ec95f757c69178d8e798da1b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38481b84f6a03fc4a1f462d81b90afecacbb02ec95f757c69178d8e798da1b86", kill_on_drop: false }` [INFO] [stdout] 38481b84f6a03fc4a1f462d81b90afecacbb02ec95f757c69178d8e798da1b86