[INFO] fetching crate chardet 0.2.4... [INFO] testing chardet-0.2.4 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate chardet 0.2.4 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate chardet 0.2.4 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chardet 0.2.4 [INFO] finished tweaking crates.io crate chardet 0.2.4 [INFO] tweaked toml for crates.io crate chardet 0.2.4 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b957a8649ef8b2acfc1ea18eae7851b7270b8f5c198a5fbad1ee8393765821c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3b957a8649ef8b2acfc1ea18eae7851b7270b8f5c198a5fbad1ee8393765821c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b957a8649ef8b2acfc1ea18eae7851b7270b8f5c198a5fbad1ee8393765821c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b957a8649ef8b2acfc1ea18eae7851b7270b8f5c198a5fbad1ee8393765821c", kill_on_drop: false }` [INFO] [stdout] 3b957a8649ef8b2acfc1ea18eae7851b7270b8f5c198a5fbad1ee8393765821c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e1712cf96686b2c59b9d2771b00b83efd0a00301d421f0eac4ab20cb9644ec4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e1712cf96686b2c59b9d2771b00b83efd0a00301d421f0eac4ab20cb9644ec4", kill_on_drop: false }` [INFO] [stderr] Compiling chardet v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbcharsetprober.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub m_distribution_analyzer: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CharDistributionAnalysis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | m_esc_charset_prober: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn charsetprober::CharsetProber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | m_charset_probers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn charsetprober::CharsetProber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "1e1712cf96686b2c59b9d2771b00b83efd0a00301d421f0eac4ab20cb9644ec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e1712cf96686b2c59b9d2771b00b83efd0a00301d421f0eac4ab20cb9644ec4", kill_on_drop: false }` [INFO] [stdout] 1e1712cf96686b2c59b9d2771b00b83efd0a00301d421f0eac4ab20cb9644ec4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6208b9cd53736e80a7a91a0cc85da565b6b9a37d66b858ccd64ef1cf03acee7a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6208b9cd53736e80a7a91a0cc85da565b6b9a37d66b858ccd64ef1cf03acee7a", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbcharsetprober.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub m_distribution_analyzer: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CharDistributionAnalysis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chardet v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | m_esc_charset_prober: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn charsetprober::CharsetProber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | m_charset_probers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn charsetprober::CharsetProber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbcharsetprober.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub m_distribution_analyzer: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CharDistributionAnalysis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | m_esc_charset_prober: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn charsetprober::CharsetProber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | m_charset_probers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn charsetprober::CharsetProber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:402:37 [INFO] [stdout] | [INFO] [stdout] 402 | assert!(result.0 == item.1, format!("Encoding Expected:[{}] Result:[{}]", item.1, result.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 402 - assert!(result.0 == item.1, format!("Encoding Expected:[{}] Result:[{}]", item.1, result.0)); [INFO] [stdout] 402 + assert!(result.0 == item.1, "Encoding Expected:[{}] Result:[{}]", item.1, result.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:403:37 [INFO] [stdout] | [INFO] [stdout] 403 | assert!(result.1 >= item.2, format!("Confidence Expected:[{}] Result:[{}]", item.2, result.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 403 - assert!(result.1 >= item.2, format!("Confidence Expected:[{}] Result:[{}]", item.2, result.1)); [INFO] [stdout] 403 + assert!(result.1 >= item.2, "Confidence Expected:[{}] Result:[{}]", item.2, result.1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | assert!(result.2 == item.3, format!("Language Expected:[{}] Result:[{}]", item.3, result.2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 404 - assert!(result.2 == item.3, format!("Language Expected:[{}] Result:[{}]", item.3, result.2)); [INFO] [stdout] 404 + assert!(result.2 == item.3, "Language Expected:[{}] Result:[{}]", item.3, result.2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | assert!(result.0 == item.1, format!("Encoding Expected:[{}] Result:[{}]", item.1, result.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 421 - assert!(result.0 == item.1, format!("Encoding Expected:[{}] Result:[{}]", item.1, result.0)); [INFO] [stdout] 421 + assert!(result.0 == item.1, "Encoding Expected:[{}] Result:[{}]", item.1, result.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:422:37 [INFO] [stdout] | [INFO] [stdout] 422 | assert!(result.1 >= item.2, format!("Confidence Expected:[{}] Result:[{}]", item.2, result.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 422 - assert!(result.1 >= item.2, format!("Confidence Expected:[{}] Result:[{}]", item.2, result.1)); [INFO] [stdout] 422 + assert!(result.1 >= item.2, "Confidence Expected:[{}] Result:[{}]", item.2, result.1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:423:37 [INFO] [stdout] | [INFO] [stdout] 423 | assert!(result.2 == item.3, format!("Language Expected:[{}] Result:[{}]", item.3, result.2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 423 - assert!(result.2 == item.3, format!("Language Expected:[{}] Result:[{}]", item.3, result.2)); [INFO] [stdout] 423 + assert!(result.2 == item.3, "Language Expected:[{}] Result:[{}]", item.3, result.2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:433:34 [INFO] [stdout] | [INFO] [stdout] 433 | assert!(result.0 == "CP932", format!("Encoding Expected:[CP932] Result:[{}]", result.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 433 - assert!(result.0 == "CP932", format!("Encoding Expected:[CP932] Result:[{}]", result.0)); [INFO] [stdout] 433 + assert!(result.0 == "CP932", "Encoding Expected:[CP932] Result:[{}]", result.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | assert!(result.1 >= 0.99, format!("Confidence Expected:[0.99] Result:[{}]", result.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 434 - assert!(result.1 >= 0.99, format!("Confidence Expected:[0.99] Result:[{}]", result.1)); [INFO] [stdout] 434 + assert!(result.1 >= 0.99, "Confidence Expected:[0.99] Result:[{}]", result.1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:435:37 [INFO] [stdout] | [INFO] [stdout] 435 | assert!(result.2 == "Japanese", format!("Language Expected:[Japanese] Result:[{}]", result.2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 435 - assert!(result.2 == "Japanese", format!("Language Expected:[Japanese] Result:[{}]", result.2)); [INFO] [stdout] 435 + assert!(result.2 == "Japanese", "Language Expected:[Japanese] Result:[{}]", result.2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/run_test.rs:452:33 [INFO] [stdout] | [INFO] [stdout] 452 | assert!( enc == item.1, format!("Charset: [{}] Expected Encoding: [{}] Result: [{}]", item.0, item.1, enc)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 452 - assert!( enc == item.1, format!("Charset: [{}] Expected Encoding: [{}] Result: [{}]", item.0, item.1, enc)); [INFO] [stdout] 452 + assert!( enc == item.1, "Charset: [{}] Expected Encoding: [{}] Result: [{}]", item.0, item.1, enc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "6208b9cd53736e80a7a91a0cc85da565b6b9a37d66b858ccd64ef1cf03acee7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6208b9cd53736e80a7a91a0cc85da565b6b9a37d66b858ccd64ef1cf03acee7a", kill_on_drop: false }` [INFO] [stdout] 6208b9cd53736e80a7a91a0cc85da565b6b9a37d66b858ccd64ef1cf03acee7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bac4bb3fa0be4c9d554216f56286a974fdc54caa75f0dfce4a796164bcdaaba [INFO] running `Command { std: "docker" "start" "-a" "0bac4bb3fa0be4c9d554216f56286a974fdc54caa75f0dfce4a796164bcdaaba", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mbcharsetprober.rs:8:45 [INFO] [stderr] | [INFO] [stderr] 8 | pub m_distribution_analyzer: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CharDistributionAnalysis` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:43:38 [INFO] [stderr] | [INFO] [stderr] 43 | m_esc_charset_prober: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn charsetprober::CharsetProber` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | m_charset_probers: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn charsetprober::CharsetProber` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `chardet` (lib) generated 3 warnings [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:402:37 [INFO] [stderr] | [INFO] [stderr] 402 | assert!(result.0 == item.1, format!("Encoding Expected:[{}] Result:[{}]", item.1, result.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 402 - assert!(result.0 == item.1, format!("Encoding Expected:[{}] Result:[{}]", item.1, result.0)); [INFO] [stderr] 402 + assert!(result.0 == item.1, "Encoding Expected:[{}] Result:[{}]", item.1, result.0); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:403:37 [INFO] [stderr] | [INFO] [stderr] 403 | assert!(result.1 >= item.2, format!("Confidence Expected:[{}] Result:[{}]", item.2, result.1)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 403 - assert!(result.1 >= item.2, format!("Confidence Expected:[{}] Result:[{}]", item.2, result.1)); [INFO] [stderr] 403 + assert!(result.1 >= item.2, "Confidence Expected:[{}] Result:[{}]", item.2, result.1); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:404:37 [INFO] [stderr] | [INFO] [stderr] 404 | assert!(result.2 == item.3, format!("Language Expected:[{}] Result:[{}]", item.3, result.2)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 404 - assert!(result.2 == item.3, format!("Language Expected:[{}] Result:[{}]", item.3, result.2)); [INFO] [stderr] 404 + assert!(result.2 == item.3, "Language Expected:[{}] Result:[{}]", item.3, result.2); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:421:37 [INFO] [stderr] | [INFO] [stderr] 421 | assert!(result.0 == item.1, format!("Encoding Expected:[{}] Result:[{}]", item.1, result.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 421 - assert!(result.0 == item.1, format!("Encoding Expected:[{}] Result:[{}]", item.1, result.0)); [INFO] [stderr] 421 + assert!(result.0 == item.1, "Encoding Expected:[{}] Result:[{}]", item.1, result.0); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:422:37 [INFO] [stderr] | [INFO] [stderr] 422 | assert!(result.1 >= item.2, format!("Confidence Expected:[{}] Result:[{}]", item.2, result.1)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 422 - assert!(result.1 >= item.2, format!("Confidence Expected:[{}] Result:[{}]", item.2, result.1)); [INFO] [stderr] 422 + assert!(result.1 >= item.2, "Confidence Expected:[{}] Result:[{}]", item.2, result.1); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:423:37 [INFO] [stderr] | [INFO] [stderr] 423 | assert!(result.2 == item.3, format!("Language Expected:[{}] Result:[{}]", item.3, result.2)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 423 - assert!(result.2 == item.3, format!("Language Expected:[{}] Result:[{}]", item.3, result.2)); [INFO] [stderr] 423 + assert!(result.2 == item.3, "Language Expected:[{}] Result:[{}]", item.3, result.2); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:433:34 [INFO] [stderr] | [INFO] [stderr] 433 | assert!(result.0 == "CP932", format!("Encoding Expected:[CP932] Result:[{}]", result.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 433 - assert!(result.0 == "CP932", format!("Encoding Expected:[CP932] Result:[{}]", result.0)); [INFO] [stderr] 433 + assert!(result.0 == "CP932", "Encoding Expected:[CP932] Result:[{}]", result.0); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:434:31 [INFO] [stderr] | [INFO] [stderr] 434 | assert!(result.1 >= 0.99, format!("Confidence Expected:[0.99] Result:[{}]", result.1)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 434 - assert!(result.1 >= 0.99, format!("Confidence Expected:[0.99] Result:[{}]", result.1)); [INFO] [stderr] 434 + assert!(result.1 >= 0.99, "Confidence Expected:[0.99] Result:[{}]", result.1); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:435:37 [INFO] [stderr] | [INFO] [stderr] 435 | assert!(result.2 == "Japanese", format!("Language Expected:[Japanese] Result:[{}]", result.2)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 435 - assert!(result.2 == "Japanese", format!("Language Expected:[Japanese] Result:[{}]", result.2)); [INFO] [stderr] 435 + assert!(result.2 == "Japanese", "Language Expected:[Japanese] Result:[{}]", result.2); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/run_test.rs:452:33 [INFO] [stderr] | [INFO] [stderr] 452 | assert!( enc == item.1, format!("Charset: [{}] Expected Encoding: [{}] Result: [{}]", item.0, item.1, enc)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 452 - assert!( enc == item.1, format!("Charset: [{}] Expected Encoding: [{}] Result: [{}]", item.0, item.1, enc)); [INFO] [stderr] 452 + assert!( enc == item.1, "Charset: [{}] Expected Encoding: [{}] Result: [{}]", item.0, item.1, enc); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `chardet` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `chardet` (test "run_test") generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chardet-c2e598054a848eed) [INFO] [stderr] Running tests/run_test.rs (/opt/rustwide/target/debug/deps/run_test-6a6aed5c70059f3f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test translate_test ... ok [INFO] [stdout] test bufreader_test ... ok [INFO] [stdout] test reuse_test ... ok [INFO] [stderr] Doc-tests chardet [INFO] [stdout] test basic_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.93s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0bac4bb3fa0be4c9d554216f56286a974fdc54caa75f0dfce4a796164bcdaaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bac4bb3fa0be4c9d554216f56286a974fdc54caa75f0dfce4a796164bcdaaba", kill_on_drop: false }` [INFO] [stdout] 0bac4bb3fa0be4c9d554216f56286a974fdc54caa75f0dfce4a796164bcdaaba