[INFO] fetching crate chardetng 0.1.17... [INFO] testing chardetng-0.1.17 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate chardetng 0.1.17 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate chardetng 0.1.17 [INFO] finished tweaking crates.io crate chardetng 0.1.17 [INFO] tweaked toml for crates.io crate chardetng 0.1.17 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chardetng 0.1.17 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded detone v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a453b780370ea8ab500c38ebefe27ca7d54b7a29177e9934def6002354c7d3de [INFO] running `Command { std: "docker" "start" "-a" "a453b780370ea8ab500c38ebefe27ca7d54b7a29177e9934def6002354c7d3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a453b780370ea8ab500c38ebefe27ca7d54b7a29177e9934def6002354c7d3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a453b780370ea8ab500c38ebefe27ca7d54b7a29177e9934def6002354c7d3de", kill_on_drop: false }` [INFO] [stdout] a453b780370ea8ab500c38ebefe27ca7d54b7a29177e9934def6002354c7d3de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d7888b760fa3b6d9bcd6f463f7d79b31c3ae858a65d625a5fca036f9dcb33f65 [INFO] running `Command { std: "docker" "start" "-a" "d7888b760fa3b6d9bcd6f463f7d79b31c3ae858a65d625a5fca036f9dcb33f65", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling chardetng v0.1.17 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "d7888b760fa3b6d9bcd6f463f7d79b31c3ae858a65d625a5fca036f9dcb33f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7888b760fa3b6d9bcd6f463f7d79b31c3ae858a65d625a5fca036f9dcb33f65", kill_on_drop: false }` [INFO] [stdout] d7888b760fa3b6d9bcd6f463f7d79b31c3ae858a65d625a5fca036f9dcb33f65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0838ed577667b0e23c37221a3fad7115a609c6f9cdedb0d8a525b82d54263987 [INFO] running `Command { std: "docker" "start" "-a" "0838ed577667b0e23c37221a3fad7115a609c6f9cdedb0d8a525b82d54263987", kill_on_drop: false }` [INFO] [stderr] Compiling detone v1.0.1 [INFO] [stderr] Compiling chardetng v0.1.17 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:3238:9 [INFO] [stdout] | [INFO] [stdout] 3238 | println!("{:?}", decoded); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/lib.rs:3248:28 [INFO] [stdout] | [INFO] [stdout] 3248 | .collect::(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3242 | fn check(input: &str, encoding: &'static Encoding) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode_without_bom_handling` found for reference `&encoding_rs::Encoding` in the current scope [INFO] [stdout] --> src/lib.rs:3237:32 [INFO] [stdout] | [INFO] [stdout] 3237 | let (decoded, _) = enc.decode_without_bom_handling(bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `new_decoder_without_bom_handling` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/encoding_rs-0.8.35/src/lib.rs:3396:5 [INFO] [stdout] | [INFO] [stdout] 3396 | pub fn new_decoder_without_bom_handling(&'static self) -> Decoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static encoding_rs::Encoding` in the current scope [INFO] [stdout] --> src/lib.rs:3249:22 [INFO] [stdout] | [INFO] [stdout] 3249 | encoding.encode(&orthographic) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `new_encoder` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/encoding_rs-0.8.35/src/lib.rs:3408:5 [INFO] [stdout] | [INFO] [stdout] 3408 | pub fn new_encoder(&'static self) -> Encoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static encoding_rs::Encoding` in the current scope [INFO] [stdout] --> src/lib.rs:3251:22 [INFO] [stdout] | [INFO] [stdout] 3251 | encoding.encode(input) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `new_encoder` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/encoding_rs-0.8.35/src/lib.rs:3408:5 [INFO] [stdout] | [INFO] [stdout] 3408 | pub fn new_encoder(&'static self) -> Encoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3645:21 [INFO] [stdout] | [INFO] [stdout] 3645 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3655:21 [INFO] [stdout] | [INFO] [stdout] 3655 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3665:21 [INFO] [stdout] | [INFO] [stdout] 3665 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3675:21 [INFO] [stdout] | [INFO] [stdout] 3675 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3685:21 [INFO] [stdout] | [INFO] [stdout] 3685 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3695:21 [INFO] [stdout] | [INFO] [stdout] 3695 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3705:21 [INFO] [stdout] | [INFO] [stdout] 3705 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3715:21 [INFO] [stdout] | [INFO] [stdout] 3715 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3725:21 [INFO] [stdout] | [INFO] [stdout] 3725 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3735:21 [INFO] [stdout] | [INFO] [stdout] 3735 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3745:21 [INFO] [stdout] | [INFO] [stdout] 3745 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3755:21 [INFO] [stdout] | [INFO] [stdout] 3755 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3765:21 [INFO] [stdout] | [INFO] [stdout] 3765 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3775:21 [INFO] [stdout] | [INFO] [stdout] 3775 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3785:21 [INFO] [stdout] | [INFO] [stdout] 3785 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3795:21 [INFO] [stdout] | [INFO] [stdout] 3795 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3805:21 [INFO] [stdout] | [INFO] [stdout] 3805 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3815:21 [INFO] [stdout] | [INFO] [stdout] 3815 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3825:21 [INFO] [stdout] | [INFO] [stdout] 3825 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3835:21 [INFO] [stdout] | [INFO] [stdout] 3835 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3845:21 [INFO] [stdout] | [INFO] [stdout] 3845 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3855:21 [INFO] [stdout] | [INFO] [stdout] 3855 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chardetng` (lib test) due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "0838ed577667b0e23c37221a3fad7115a609c6f9cdedb0d8a525b82d54263987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0838ed577667b0e23c37221a3fad7115a609c6f9cdedb0d8a525b82d54263987", kill_on_drop: false }` [INFO] [stdout] 0838ed577667b0e23c37221a3fad7115a609c6f9cdedb0d8a525b82d54263987