[INFO] fetching crate chardetng 0.1.15... [INFO] testing chardetng-0.1.15 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate chardetng 0.1.15 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate chardetng 0.1.15 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chardetng 0.1.15 [INFO] finished tweaking crates.io crate chardetng 0.1.15 [INFO] tweaked toml for crates.io crate chardetng 0.1.15 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 284d2ee93488b6e7bb7b21cd23ab44868c80cc3d9658a28dcebc1d6b2bcd6824 [INFO] running `Command { std: "docker" "start" "-a" "284d2ee93488b6e7bb7b21cd23ab44868c80cc3d9658a28dcebc1d6b2bcd6824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "284d2ee93488b6e7bb7b21cd23ab44868c80cc3d9658a28dcebc1d6b2bcd6824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "284d2ee93488b6e7bb7b21cd23ab44868c80cc3d9658a28dcebc1d6b2bcd6824", kill_on_drop: false }` [INFO] [stdout] 284d2ee93488b6e7bb7b21cd23ab44868c80cc3d9658a28dcebc1d6b2bcd6824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e241384848e2fd3785ab9bb9962e7a29cae44060709eeaa64f4c41d79c2eb514 [INFO] running `Command { std: "docker" "start" "-a" "e241384848e2fd3785ab9bb9962e7a29cae44060709eeaa64f4c41d79c2eb514", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling chardetng v0.1.15 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "e241384848e2fd3785ab9bb9962e7a29cae44060709eeaa64f4c41d79c2eb514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e241384848e2fd3785ab9bb9962e7a29cae44060709eeaa64f4c41d79c2eb514", kill_on_drop: false }` [INFO] [stdout] e241384848e2fd3785ab9bb9962e7a29cae44060709eeaa64f4c41d79c2eb514 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3115e2b87f21f4a864450469b5be539ae91f24a1f83a3d17ca748ece948a4444 [INFO] running `Command { std: "docker" "start" "-a" "3115e2b87f21f4a864450469b5be539ae91f24a1f83a3d17ca748ece948a4444", kill_on_drop: false }` [INFO] [stderr] Compiling detone v1.0.0 [INFO] [stderr] Compiling chardetng v0.1.15 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:3217:9 [INFO] [stdout] | [INFO] [stdout] 3217 | println!("{:?}", decoded); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/lib.rs:3619:21 [INFO] [stdout] | [INFO] [stdout] 3619 | 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:3629:21 [INFO] [stdout] | [INFO] [stdout] 3629 | 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:3639:21 [INFO] [stdout] | [INFO] [stdout] 3639 | 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:3649:21 [INFO] [stdout] | [INFO] [stdout] 3649 | 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:3659:21 [INFO] [stdout] | [INFO] [stdout] 3659 | 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:3669:21 [INFO] [stdout] | [INFO] [stdout] 3669 | 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:3679:21 [INFO] [stdout] | [INFO] [stdout] 3679 | 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:3689:21 [INFO] [stdout] | [INFO] [stdout] 3689 | 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:3699:21 [INFO] [stdout] | [INFO] [stdout] 3699 | 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:3709:21 [INFO] [stdout] | [INFO] [stdout] 3709 | 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:3719:21 [INFO] [stdout] | [INFO] [stdout] 3719 | 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:3729:21 [INFO] [stdout] | [INFO] [stdout] 3729 | 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:3739:21 [INFO] [stdout] | [INFO] [stdout] 3739 | 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:3749:21 [INFO] [stdout] | [INFO] [stdout] 3749 | 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:3759:21 [INFO] [stdout] | [INFO] [stdout] 3759 | 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:3769:21 [INFO] [stdout] | [INFO] [stdout] 3769 | 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:3779:21 [INFO] [stdout] | [INFO] [stdout] 3779 | 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:3789:21 [INFO] [stdout] | [INFO] [stdout] 3789 | 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:3799:21 [INFO] [stdout] | [INFO] [stdout] 3799 | 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:3809:21 [INFO] [stdout] | [INFO] [stdout] 3809 | 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:3819:21 [INFO] [stdout] | [INFO] [stdout] 3819 | 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:3829:21 [INFO] [stdout] | [INFO] [stdout] 3829 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/lib.rs:3227:28 [INFO] [stdout] | [INFO] [stdout] 3221 | fn check(input: &str, encoding: &'static Encoding) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 3227 | .collect::(); [INFO] [stdout] | ^^^^^^ not found in this scope [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:3216:32 [INFO] [stdout] | [INFO] [stdout] 3216 | let (decoded, _) = enc.decode_without_bom_handling(bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `new_decoder_without_bom_handling` [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:3228:22 [INFO] [stdout] | [INFO] [stdout] 3228 | encoding.encode(&orthographic) [INFO] [stdout] | ^^^^^^ method not found in `&'static encoding_rs::Encoding` [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:3230:22 [INFO] [stdout] | [INFO] [stdout] 3230 | encoding.encode(input) [INFO] [stdout] | ^^^^^^ method not found in `&'static encoding_rs::Encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:3223:14 [INFO] [stdout] | [INFO] [stdout] 3223 | let (bytes, _, _) = if encoding == WINDOWS_1258 { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chardetng` due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "3115e2b87f21f4a864450469b5be539ae91f24a1f83a3d17ca748ece948a4444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3115e2b87f21f4a864450469b5be539ae91f24a1f83a3d17ca748ece948a4444", kill_on_drop: false }` [INFO] [stdout] 3115e2b87f21f4a864450469b5be539ae91f24a1f83a3d17ca748ece948a4444