[INFO] fetching crate rsbeancount 0.1.1... [INFO] building rsbeancount-0.1.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rsbeancount 0.1.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsbeancount 0.1.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--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] Locking 60 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded clap v2.33.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bc4c28a2c6f117a5bb170c9bf42c7ea22847619e78b3698ff53e802bc7fe3e6 [INFO] running `Command { std: "docker" "start" "-a" "4bc4c28a2c6f117a5bb170c9bf42c7ea22847619e78b3698ff53e802bc7fe3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bc4c28a2c6f117a5bb170c9bf42c7ea22847619e78b3698ff53e802bc7fe3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc4c28a2c6f117a5bb170c9bf42c7ea22847619e78b3698ff53e802bc7fe3e6", kill_on_drop: false }` [INFO] [stdout] 4bc4c28a2c6f117a5bb170c9bf42c7ea22847619e78b3698ff53e802bc7fe3e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01d11ff5496fda1f8db187175b41d4da70cb0b24e29c49bc39ec84c59bfd1ee2 [INFO] running `Command { std: "docker" "start" "-a" "01d11ff5496fda1f8db187175b41d4da70cb0b24e29c49bc39ec84c59bfd1ee2", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling clap v2.33.4 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.67s [INFO] running `Command { std: "docker" "inspect" "01d11ff5496fda1f8db187175b41d4da70cb0b24e29c49bc39ec84c59bfd1ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d11ff5496fda1f8db187175b41d4da70cb0b24e29c49bc39ec84c59bfd1ee2", kill_on_drop: false }` [INFO] [stdout] 01d11ff5496fda1f8db187175b41d4da70cb0b24e29c49bc39ec84c59bfd1ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ff703d9f57b51873fe995157b7c0482ef1f309568d8ff2173a594009172767f [INFO] running `Command { std: "docker" "start" "-a" "4ff703d9f57b51873fe995157b7c0482ef1f309568d8ff2173a594009172767f", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "4ff703d9f57b51873fe995157b7c0482ef1f309568d8ff2173a594009172767f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff703d9f57b51873fe995157b7c0482ef1f309568d8ff2173a594009172767f", kill_on_drop: false }` [INFO] [stdout] 4ff703d9f57b51873fe995157b7c0482ef1f309568d8ff2173a594009172767f