[INFO] cloning repository https://github.com/zhourunlai/rsbeancount [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhourunlai/rsbeancount" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhourunlai%2Frsbeancount", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhourunlai%2Frsbeancount'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e135e24675ee52efd31358d368aa1b4094e3747 [INFO] checking zhourunlai/rsbeancount against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhourunlai%2Frsbeancount" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhourunlai/rsbeancount on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhourunlai/rsbeancount [INFO] finished tweaking git repo https://github.com/zhourunlai/rsbeancount [INFO] tweaked toml for git repo https://github.com/zhourunlai/rsbeancount written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhourunlai/rsbeancount 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53e03ed1aaef3b5fb87e4fd9f43ab74b8f9c4070d1e425351fffb14e39010ec8 [INFO] running `Command { std: "docker" "start" "-a" "53e03ed1aaef3b5fb87e4fd9f43ab74b8f9c4070d1e425351fffb14e39010ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53e03ed1aaef3b5fb87e4fd9f43ab74b8f9c4070d1e425351fffb14e39010ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e03ed1aaef3b5fb87e4fd9f43ab74b8f9c4070d1e425351fffb14e39010ec8", kill_on_drop: false }` [INFO] [stdout] 53e03ed1aaef3b5fb87e4fd9f43ab74b8f9c4070d1e425351fffb14e39010ec8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71b11240c3026d66454333d0d0bbafa8684fcc23ba3b3a5e631977f87644aa8d [INFO] running `Command { std: "docker" "start" "-a" "71b11240c3026d66454333d0d0bbafa8684fcc23ba3b3a5e631977f87644aa8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking csv v1.0.7 [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 an object-safe 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 an object-safe 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: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: 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "71b11240c3026d66454333d0d0bbafa8684fcc23ba3b3a5e631977f87644aa8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b11240c3026d66454333d0d0bbafa8684fcc23ba3b3a5e631977f87644aa8d", kill_on_drop: false }` [INFO] [stdout] 71b11240c3026d66454333d0d0bbafa8684fcc23ba3b3a5e631977f87644aa8d