[INFO] fetching crate dinero-rs 0.20.0... [INFO] checking dinero-rs-0.20.0 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate dinero-rs 0.20.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate dinero-rs 0.20.0 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dinero-rs 0.20.0 [INFO] finished tweaking crates.io crate dinero-rs 0.20.0 [INFO] tweaked toml for crates.io crate dinero-rs 0.20.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate dinero-rs 0.20.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_regex v0.4.0 [INFO] [stderr] Downloaded pidgin v0.4.0 [INFO] [stderr] Downloaded two_timer v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a99a149df3b771984c53b4040ae65097ea703567880d9d4de1fc70d7e7fd4b8c [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" "a99a149df3b771984c53b4040ae65097ea703567880d9d4de1fc70d7e7fd4b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a99a149df3b771984c53b4040ae65097ea703567880d9d4de1fc70d7e7fd4b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99a149df3b771984c53b4040ae65097ea703567880d9d4de1fc70d7e7fd4b8c", kill_on_drop: false }` [INFO] [stdout] a99a149df3b771984c53b4040ae65097ea703567880d9d4de1fc70d7e7fd4b8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 290e82e413341fe930d5ccbe26a4913b1c6ec4acdf635902fb439cebf1da3c1a [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" "290e82e413341fe930d5ccbe26a4913b1c6ec4acdf635902fb439cebf1da3c1a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking predicates v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking assert_cmd v1.0.3 [INFO] [stderr] Checking shellexpand v2.1.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking serde_regex v0.4.0 [INFO] [stderr] Checking pidgin v0.4.0 [INFO] [stderr] Checking two_timer v2.2.0 [INFO] [stderr] Checking dinero-rs v0.20.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Origin` [INFO] [stdout] --> src/parser/tokenizers/commodity.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::{Comment, Currency, Origin}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Account`, `Balance` [INFO] [stdout] --> src/models/price.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | use crate::models::{Account, Balance}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Origin` [INFO] [stdout] --> src/parser/tokenizers/commodity.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::{Comment, Currency, Origin}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `integer_format` is never read [INFO] [stdout] --> src/models/currency.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut integer_format = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currency_format` is assigned to, but never used [INFO] [stdout] --> src/models/currency.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let mut currency_format = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_currency_format` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rule` is never read [INFO] [stdout] --> src/models/currency.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | rule = parsed.next().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `currency_format` is never read [INFO] [stdout] --> src/models/currency.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | currency_format = parsed.next(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `currency_format` is never read [INFO] [stdout] --> src/models/currency.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | currency_format = Some(first); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `integer_format` is never read [INFO] [stdout] --> src/models/currency.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut integer_format = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currency_format` is assigned to, but never used [INFO] [stdout] --> src/models/currency.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let mut currency_format = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_currency_format` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rule` is never read [INFO] [stdout] --> src/models/currency.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | rule = parsed.next().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `currency_format` is never read [INFO] [stdout] --> src/models/currency.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | currency_format = parsed.next(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `currency_format` is never read [INFO] [stdout] --> src/models/currency.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | currency_format = Some(first); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | ... format!("Bad config file {:?}\n{}", file, line) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 153 | "Bad config file {:?}\n{}", file, line [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | ... format!("Bad config file {:?}\n{}", file, line) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 153 | "Bad config file {:?}\n{}", file, line [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_err` [INFO] [stdout] --> tests/common.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn test_err(args: &[&str]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "290e82e413341fe930d5ccbe26a4913b1c6ec4acdf635902fb439cebf1da3c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290e82e413341fe930d5ccbe26a4913b1c6ec4acdf635902fb439cebf1da3c1a", kill_on_drop: false }` [INFO] [stdout] 290e82e413341fe930d5ccbe26a4913b1c6ec4acdf635902fb439cebf1da3c1a