[INFO] fetching crate rsbeancount 0.1.1... [INFO] checking rsbeancount-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rsbeancount 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rsbeancount 0.1.1 [INFO] finished tweaking crates.io crate rsbeancount 0.1.1 [INFO] tweaked toml for crates.io crate rsbeancount 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsbeancount 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] [stderr] Adding clap v2.33.4 (available: v2.34.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.33.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04ba99708084222af9f647d97eaf37d47cae11a1ef1a28191d10fb59adedf19a [INFO] running `Command { std: "docker" "start" "-a" "04ba99708084222af9f647d97eaf37d47cae11a1ef1a28191d10fb59adedf19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04ba99708084222af9f647d97eaf37d47cae11a1ef1a28191d10fb59adedf19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ba99708084222af9f647d97eaf37d47cae11a1ef1a28191d10fb59adedf19a", kill_on_drop: false }` [INFO] [stdout] 04ba99708084222af9f647d97eaf37d47cae11a1ef1a28191d10fb59adedf19a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0a35118845c1a82db10ed15687f1441f0e4ff5f0249a7cfe36152c6ebbfa5bb [INFO] running `Command { std: "docker" "start" "-a" "f0a35118845c1a82db10ed15687f1441f0e4ff5f0249a7cfe36152c6ebbfa5bb", kill_on_drop: false }` [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking clap v2.33.4 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking rsbeancount v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:78 [INFO] [stdout] | [INFO] [stdout] 36 | fn csv_2_bean(source: &str, csvpath: &str, beanpath: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn csv_2_bean(source: &str, csvpath: &str, beanpath: &str) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:78 [INFO] [stdout] | [INFO] [stdout] 36 | fn csv_2_bean(source: &str, csvpath: &str, beanpath: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn csv_2_bean(source: &str, csvpath: &str, beanpath: &str) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => panic!("couldn't open {}: {}", csvpath, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => panic!("couldn't create {}: {}", beanpath, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/transaction.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub trade_no: String, // 交易号 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub order_no: String, // 商家订单号 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub created_at: String, // 交易创建时间 [INFO] [stdout] 14 | pub pay_at: String, // 付款时间 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub updated_at: String, // 最近修改时间 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub come_from: String, // 交易来源地 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub source: String, // 类型 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub pay_status: String, // 交易状态 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub service_fee: String, // 服务费(元) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | pub refund: String, // 成功退款(元) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub remark: String, // 备注 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub fund_status: String, // 资金状态 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => panic!("couldn't open {}: {}", csvpath, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => panic!("couldn't create {}: {}", beanpath, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/transaction.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub trade_no: String, // 交易号 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub order_no: String, // 商家订单号 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub created_at: String, // 交易创建时间 [INFO] [stdout] 14 | pub pay_at: String, // 付款时间 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub updated_at: String, // 最近修改时间 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub come_from: String, // 交易来源地 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub source: String, // 类型 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub pay_status: String, // 交易状态 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub service_fee: String, // 服务费(元) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | pub refund: String, // 成功退款(元) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub remark: String, // 备注 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub fund_status: String, // 资金状态 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "f0a35118845c1a82db10ed15687f1441f0e4ff5f0249a7cfe36152c6ebbfa5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a35118845c1a82db10ed15687f1441f0e4ff5f0249a7cfe36152c6ebbfa5bb", kill_on_drop: false }` [INFO] [stdout] f0a35118845c1a82db10ed15687f1441f0e4ff5f0249a7cfe36152c6ebbfa5bb