[INFO] cloning repository https://github.com/flowalex-tech/rust_collection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowalex-tech/rust_collection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowalex-tech%2Frust_collection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowalex-tech%2Frust_collection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 825f7543b70cce69e934baacdbc7335a18a923c0 [INFO] checking flowalex-tech/rust_collection/825f7543b70cce69e934baacdbc7335a18a923c0 against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowalex-tech%2Frust_collection" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/flowalex-tech/rust_collection [INFO] finished tweaking git repo https://github.com/flowalex-tech/rust_collection [INFO] tweaked toml for git repo https://github.com/flowalex-tech/rust_collection written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flowalex-tech/rust_collection on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/flowalex-tech/rust_collection 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phonelib v0.1.2 [INFO] [stderr] Downloaded metar v0.7.7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5b698f2bd4c1700991c8f23c425b7af501c6900f3ebc9c39fe74dd1b9264eca [INFO] running `Command { std: "docker" "start" "-a" "a5b698f2bd4c1700991c8f23c425b7af501c6900f3ebc9c39fe74dd1b9264eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5b698f2bd4c1700991c8f23c425b7af501c6900f3ebc9c39fe74dd1b9264eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b698f2bd4c1700991c8f23c425b7af501c6900f3ebc9c39fe74dd1b9264eca", kill_on_drop: false }` [INFO] [stdout] a5b698f2bd4c1700991c8f23c425b7af501c6900f3ebc9c39fe74dd1b9264eca [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08b270c435d004cb8dc53b3fa08601ea32f5d845daef91d6a99ececef07aab2e [INFO] running `Command { std: "docker" "start" "-a" "08b270c435d004cb8dc53b3fa08601ea32f5d845daef91d6a99ececef07aab2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling cc v1.1.25 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking phonelib v0.1.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pest v2.7.13 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking metar v0.7.7 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.8 [INFO] [stderr] Checking rust_collection v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/keyboard_row.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if (wordset.is_subset(&qrow) || wordset.is_subset(&arow) || wordset.is_subset(&zrow)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if (wordset.is_subset(&qrow) || wordset.is_subset(&arow) || wordset.is_subset(&zrow)) { [INFO] [stdout] 27 + if wordset.is_subset(&qrow) || wordset.is_subset(&arow) || wordset.is_subset(&zrow) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Die` is never constructed [INFO] [stdout] --> src/bin/dice_roller.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Die { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `d2`, `d4`, and `d6` are never used [INFO] [stdout] --> src/bin/dice_roller.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Die { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 8 | pub fn new(faces: u8) -> Die { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn d2() -> Die { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn d4() -> Die { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn d6() -> Die { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Date` [INFO] [stdout] --> src/bin/day_of_week.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{TimeZone, Datelike, Date}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/bin/metar.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let dt = Utc::from_local_datetime(&naive_dt).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^----------- argument #2 of type `&NaiveDateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `&Utc`, found `&Result` [INFO] [stdout] --> src/bin/metar.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | let dt = Utc::from_local_datetime(&naive_dt).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: expected reference `&Utc` [INFO] [stdout] found reference `&Result` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.38/src/offset/mod.rs:567:8 [INFO] [stdout] | [INFO] [stdout] 567 | fn from_local_datetime(&self, local: &NaiveDateTime) -> MappedLocalTime> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 15 - let dt = Utc::from_local_datetime(&naive_dt).unwrap(); [INFO] [stdout] 15 + let dt = Utc::from_local_datetime(/* &Utc */, /* &NaiveDateTime */).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bin/postnet.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let f = File::create("files/barcodes.txt"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_collection` (bin "metar") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/bin/day_of_week.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{TimeZone, Datelike, Date}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/keyboard_row.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let output = find_words(entry); [INFO] [stdout] | ---------- ^^^^^ expected `Vec`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/keyboard_row.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn find_words(words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | writeln!(output, "{}", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/bin/day_of_week.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | let dt = chrono::Local.ymd(year, month, day); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | writeln!(output, "{}", street); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | writeln!(output, "{}, {} {}", city, state, zip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | write!(output, "|"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | / match i { [INFO] [stdout] 55 | | '0' => write!(output, "||:::"), [INFO] [stdout] 56 | | '1' => write!(output, ":::||"), [INFO] [stdout] 57 | | '2' => write!(output, "::|:|"), [INFO] [stdout] ... | [INFO] [stdout] 65 | | _ => Ok(()), [INFO] [stdout] 66 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = match i { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | write!(output, "|"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | writeln!(output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Date` [INFO] [stdout] --> src/bin/day_of_week.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{TimeZone, Datelike, Date}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/keyboard_row.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if (wordset.is_subset(&qrow) || wordset.is_subset(&arow) || wordset.is_subset(&zrow)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if (wordset.is_subset(&qrow) || wordset.is_subset(&arow) || wordset.is_subset(&zrow)) { [INFO] [stdout] 27 + if wordset.is_subset(&qrow) || wordset.is_subset(&arow) || wordset.is_subset(&zrow) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/bin/day_of_week.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{TimeZone, Datelike, Date}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Die` is never constructed [INFO] [stdout] --> src/bin/dice_roller.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Die { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `d2`, `d4`, and `d6` are never used [INFO] [stdout] --> src/bin/dice_roller.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Die { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 8 | pub fn new(faces: u8) -> Die { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn d2() -> Die { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn d4() -> Die { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn d6() -> Die { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/bin/day_of_week.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | let dt = chrono::Local.ymd(year, month, day); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bin/postnet.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let f = File::create("files/barcodes.txt"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/bin/metar.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let dt = Utc::from_local_datetime(&naive_dt).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^----------- argument #2 of type `&NaiveDateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `&Utc`, found `&Result` [INFO] [stdout] --> src/bin/metar.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | let dt = Utc::from_local_datetime(&naive_dt).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: expected reference `&Utc` [INFO] [stdout] found reference `&Result` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.38/src/offset/mod.rs:567:8 [INFO] [stdout] | [INFO] [stdout] 567 | fn from_local_datetime(&self, local: &NaiveDateTime) -> MappedLocalTime> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 15 - let dt = Utc::from_local_datetime(&naive_dt).unwrap(); [INFO] [stdout] 15 + let dt = Utc::from_local_datetime(/* &Utc */, /* &NaiveDateTime */).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_collection` (bin "keyboard_row") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | writeln!(output, "{}", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | writeln!(output, "{}", street); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | writeln!(output, "{}, {} {}", city, state, zip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | write!(output, "|"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | / match i { [INFO] [stdout] 55 | | '0' => write!(output, "||:::"), [INFO] [stdout] 56 | | '1' => write!(output, ":::||"), [INFO] [stdout] 57 | | '2' => write!(output, "::|:|"), [INFO] [stdout] ... | [INFO] [stdout] 65 | | _ => Ok(()), [INFO] [stdout] 66 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = match i { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | write!(output, "|"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/postnet.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | writeln!(output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/keyboard_row.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let output = find_words(entry); [INFO] [stdout] | ---------- ^^^^^ expected `Vec`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/keyboard_row.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn find_words(words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_collection` (bin "keyboard_row" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `rust_collection` (bin "metar" test) due to 1 previous error [INFO] [stdout] warning: fields `stop_id`, `latitude`, and `longitude` are never read [INFO] [stdout] --> src/bin/transit_tracker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Stop { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | stop_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | latitude: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | longitude: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/bin/transit_tracker.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Departure { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | actual: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | trip_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | stop_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | departure_text: String, [INFO] [stdout] 21 | departure_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | description: String, [INFO] [stdout] 23 | route_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | route_short_name: String, [INFO] [stdout] 25 | direction_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | direction_text: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | schedule_relationship: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alerts` is never read [INFO] [stdout] --> src/bin/transit_tracker.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 32 | stops: Vec, [INFO] [stdout] 33 | alerts: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "08b270c435d004cb8dc53b3fa08601ea32f5d845daef91d6a99ececef07aab2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b270c435d004cb8dc53b3fa08601ea32f5d845daef91d6a99ececef07aab2e", kill_on_drop: false }` [INFO] [stdout] 08b270c435d004cb8dc53b3fa08601ea32f5d845daef91d6a99ececef07aab2e