[INFO] fetching crate fbihtax 0.3.2... [INFO] testing fbihtax-0.3.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate fbihtax 0.3.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate fbihtax 0.3.2 [INFO] finished tweaking crates.io crate fbihtax 0.3.2 [INFO] tweaked toml for crates.io crate fbihtax 0.3.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fbihtax 0.3.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fbihtax 0.3.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5599786e6cef97eb6c7c98b78928308c8ea911f1ddda87338de7187ded120dff [INFO] running `Command { std: "docker" "start" "-a" "5599786e6cef97eb6c7c98b78928308c8ea911f1ddda87338de7187ded120dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5599786e6cef97eb6c7c98b78928308c8ea911f1ddda87338de7187ded120dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5599786e6cef97eb6c7c98b78928308c8ea911f1ddda87338de7187ded120dff", kill_on_drop: false }` [INFO] [stdout] 5599786e6cef97eb6c7c98b78928308c8ea911f1ddda87338de7187ded120dff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7827fb9844306917f67306ffa3154a55c60445349cb4b82919d95a788112b9ec [INFO] running `Command { std: "docker" "start" "-a" "7827fb9844306917f67306ffa3154a55c60445349cb4b82919d95a788112b9ec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling rust_decimal v1.25.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling pom v3.2.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rust_decimal_macros v1.25.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling lopdf v0.27.0 [INFO] [stderr] Compiling clap v3.2.16 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling fbihtax v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.45s [INFO] running `Command { std: "docker" "inspect" "7827fb9844306917f67306ffa3154a55c60445349cb4b82919d95a788112b9ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7827fb9844306917f67306ffa3154a55c60445349cb4b82919d95a788112b9ec", kill_on_drop: false }` [INFO] [stdout] 7827fb9844306917f67306ffa3154a55c60445349cb4b82919d95a788112b9ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0799c79843b00fb49b2f78ddbbb8e23074f880d998839db0b3984d09f620d2a [INFO] running `Command { std: "docker" "start" "-a" "d0799c79843b00fb49b2f78ddbbb8e23074f880d998839db0b3984d09f620d2a", kill_on_drop: false }` [INFO] [stderr] Compiling fbihtax v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fdf/fdf_generator.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | write_fdf(data, output_file.to_str().unwrap().to_string()).unwrap(); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/fdf/fdf_generator.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn write_fdf(data: FdfData, output_file: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ ----------------- [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 129 - write_fdf(data, output_file.to_str().unwrap().to_string()).unwrap(); [INFO] [stdout] 129 + write_fdf(data, output_file.to_str().unwrap()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fbihtax` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d0799c79843b00fb49b2f78ddbbb8e23074f880d998839db0b3984d09f620d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0799c79843b00fb49b2f78ddbbb8e23074f880d998839db0b3984d09f620d2a", kill_on_drop: false }` [INFO] [stdout] d0799c79843b00fb49b2f78ddbbb8e23074f880d998839db0b3984d09f620d2a