[INFO] cloning repository https://github.com/rtroxler/general_ledge.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rtroxler/general_ledge.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frtroxler%2Fgeneral_ledge.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frtroxler%2Fgeneral_ledge.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 998d3dcf70534c2036b96f1c5bd9cdd2f2dba367 [INFO] checking rtroxler/general_ledge.rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frtroxler%2Fgeneral_ledge.rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rtroxler/general_ledge.rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rtroxler/general_ledge.rs [INFO] finished tweaking git repo https://github.com/rtroxler/general_ledge.rs [INFO] tweaked toml for git repo https://github.com/rtroxler/general_ledge.rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/rtroxler/general_ledge.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b33e3256bfc2abd1079980351c6674c745a65abe4ca19cbdacc88ddb02cacbf3 [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" "b33e3256bfc2abd1079980351c6674c745a65abe4ca19cbdacc88ddb02cacbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b33e3256bfc2abd1079980351c6674c745a65abe4ca19cbdacc88ddb02cacbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33e3256bfc2abd1079980351c6674c745a65abe4ca19cbdacc88ddb02cacbf3", kill_on_drop: false }` [INFO] [stdout] b33e3256bfc2abd1079980351c6674c745a65abe4ca19cbdacc88ddb02cacbf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47ee64b032cf533e341721e6bf3991cfa8a5d28c70a5d400ce0c178395adf84 [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" "d47ee64b032cf533e341721e6bf3991cfa8a5d28c70a5d400ce0c178395adf84", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking general_ledgers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transaction::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use transaction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `usd::USD` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use usd::USD; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `general_ledger::GeneralLedger` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use general_ledger::GeneralLedger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transaction.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(amount: USD, account_code: String, effective_on: DateTime, [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: `new` [INFO] [stdout] --> src/transaction.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new( amount: USD, account_code: String, effective_on: DateTime, payee_amount: USD, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_float` [INFO] [stdout] --> src/usd.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_float(d: f64) -> USD { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/usd.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn inverse(&self) -> USD { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/general_ledger.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> GeneralLedger { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/general_ledger.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_amount` [INFO] [stdout] --> src/general_ledger.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn fetch_amount(&self, date: Date, account_code: String) -> Option<&USD> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/usd.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn inverse(&self) -> USD { [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: `print` [INFO] [stdout] --> src/general_ledger.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.33s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d47ee64b032cf533e341721e6bf3991cfa8a5d28c70a5d400ce0c178395adf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47ee64b032cf533e341721e6bf3991cfa8a5d28c70a5d400ce0c178395adf84", kill_on_drop: false }` [INFO] [stdout] d47ee64b032cf533e341721e6bf3991cfa8a5d28c70a5d400ce0c178395adf84