[INFO] fetching crate beancount-sort 0.1.5... [INFO] checking beancount-sort-0.1.5 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate beancount-sort 0.1.5 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate beancount-sort 0.1.5 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate beancount-sort 0.1.5 [INFO] finished tweaking crates.io crate beancount-sort 0.1.5 [INFO] tweaked toml for crates.io crate beancount-sort 0.1.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate beancount-sort 0.1.5 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.16 [INFO] [stderr] Downloaded anyhow v1.0.43 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded structopt v0.3.23 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded libc v0.2.101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3f7b9dd917ab934f12e53c00e1a5e3c1d5d8bce5816bac87f49faa668be4e16 [INFO] running `Command { std: "docker" "start" "-a" "f3f7b9dd917ab934f12e53c00e1a5e3c1d5d8bce5816bac87f49faa668be4e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3f7b9dd917ab934f12e53c00e1a5e3c1d5d8bce5816bac87f49faa668be4e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f7b9dd917ab934f12e53c00e1a5e3c1d5d8bce5816bac87f49faa668be4e16", kill_on_drop: false }` [INFO] [stdout] f3f7b9dd917ab934f12e53c00e1a5e3c1d5d8bce5816bac87f49faa668be4e16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac7886bdc581c1029fc6dabaf2e4592613bae746a18143eb3072b47f7e4129c1 [INFO] running `Command { std: "docker" "start" "-a" "ac7886bdc581c1029fc6dabaf2e4592613bae746a18143eb3072b47f7e4129c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking beancount-sort v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `BufRead` is imported redundantly [INFO] [stdout] --> src/main.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs::{OpenOptions, remove_file}, io::{BufRead, BufReader, prelude::*}, mem, path::{Path, PathBuf}}; [INFO] [stdout] | ^^^^^^^ ---------- the item `BufRead` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufRead` is imported redundantly [INFO] [stdout] --> src/main.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs::{OpenOptions, remove_file}, io::{BufRead, BufReader, prelude::*}, mem, path::{Path, PathBuf}}; [INFO] [stdout] | ^^^^^^^ ---------- the item `BufRead` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct LedgerFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LedgerFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/main.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let val = sorted_entries_function.remove(i); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct LedgerFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LedgerFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "ac7886bdc581c1029fc6dabaf2e4592613bae746a18143eb3072b47f7e4129c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac7886bdc581c1029fc6dabaf2e4592613bae746a18143eb3072b47f7e4129c1", kill_on_drop: false }` [INFO] [stdout] ac7886bdc581c1029fc6dabaf2e4592613bae746a18143eb3072b47f7e4129c1