[INFO] fetching crate reduce_unsafe 0.1.0...
[INFO] testing reduce_unsafe-0.1.0 against 1.95.0 for beta-1.96-2
[INFO] extracting crate reduce_unsafe 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate reduce_unsafe 0.1.0
[INFO] finished tweaking crates.io crate reduce_unsafe 0.1.0
[INFO] tweaked toml for crates.io crate reduce_unsafe 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate reduce_unsafe 0.1.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0080fdd7c1a59159f946d96cc08f80679849f9b0034c437d3f6fcb04d71a90e
[INFO] running `Command { std: "docker" "start" "-a" "a0080fdd7c1a59159f946d96cc08f80679849f9b0034c437d3f6fcb04d71a90e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0080fdd7c1a59159f946d96cc08f80679849f9b0034c437d3f6fcb04d71a90e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0080fdd7c1a59159f946d96cc08f80679849f9b0034c437d3f6fcb04d71a90e", kill_on_drop: false }`
[INFO] [stdout] a0080fdd7c1a59159f946d96cc08f80679849f9b0034c437d3f6fcb04d71a90e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 39d1219eec941b0e2164d905d227407ca9fef6e339c1087ebe0d4c37932d90f5
[INFO] running `Command { std: "docker" "start" "-a" "39d1219eec941b0e2164d905d227407ca9fef6e339c1087ebe0d4c37932d90f5", kill_on_drop: false }`
[INFO] [stderr]    Compiling reduce_unsafe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `reduce_unsafe`
[INFO] [stdout]   --> src/lib.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[cfg_attr(reduce_unsafe, should_panic)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(reduce_unsafe)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(reduce_unsafe)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "39d1219eec941b0e2164d905d227407ca9fef6e339c1087ebe0d4c37932d90f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39d1219eec941b0e2164d905d227407ca9fef6e339c1087ebe0d4c37932d90f5", kill_on_drop: false }`
[INFO] [stdout] 39d1219eec941b0e2164d905d227407ca9fef6e339c1087ebe0d4c37932d90f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b835436f23a2b8eaf2ad14d41fdeec94561d8e1280856106ccbf9f05aa88f2bc
[INFO] running `Command { std: "docker" "start" "-a" "b835436f23a2b8eaf2ad14d41fdeec94561d8e1280856106ccbf9f05aa88f2bc", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition name: `reduce_unsafe`
[INFO] [stdout]   --> src/lib.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[cfg_attr(reduce_unsafe, should_panic)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(reduce_unsafe)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(reduce_unsafe)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling reduce_unsafe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `reduce_unsafe`
[INFO] [stdout]   --> src/lib.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[cfg_attr(reduce_unsafe, should_panic)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(reduce_unsafe)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(reduce_unsafe)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `reduce_unsafe`
[INFO] [stdout]   --> src/lib.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |           #[cfg(not(reduce_unsafe))]
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |       let s = unchecked!(
[INFO] [stdout]    |  _____________-
[INFO] [stdout] 85 | |         unsafe { core::str::from_utf8_unchecked(b) },
[INFO] [stdout] 86 | |         core::str::from_utf8(b).expect("BUG: unsound unsafe code detected")
[INFO] [stdout] 87 | |     );
[INFO] [stdout]    | |_____- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(reduce_unsafe)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(reduce_unsafe)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `unchecked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `reduce_unsafe`
[INFO] [stdout]   --> src/lib.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |           #[cfg(reduce_unsafe)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |       let s = unchecked!(
[INFO] [stdout]    |  _____________-
[INFO] [stdout] 85 | |         unsafe { core::str::from_utf8_unchecked(b) },
[INFO] [stdout] 86 | |         core::str::from_utf8(b).expect("BUG: unsound unsafe code detected")
[INFO] [stdout] 87 | |     );
[INFO] [stdout]    | |_____- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(reduce_unsafe)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(reduce_unsafe)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `unchecked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::str::from_utf8_unchecked` with an invalid literal are undefined behavior
[INFO] [stdout]   --> src/lib.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let b = b"hello world\xff";
[INFO] [stdout]    |             ------------------ the literal was valid UTF-8 up to the 11 bytes
[INFO] [stdout] 84 |     let s = unchecked!(
[INFO] [stdout] 85 |         unsafe { core::str::from_utf8_unchecked(b) },
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(invalid_from_utf8_unchecked)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__reduce_unsafe_internal` which comes from the expansion of the macro `unchecked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::str::from_utf8_unchecked` with an invalid literal are undefined behavior
[INFO] [stdout]   --> src/lib.rs:96:18
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let b = b"hello world\xff";
[INFO] [stdout]    |             ------------------ the literal was valid UTF-8 up to the 11 bytes
[INFO] [stdout] 95 |     let _ = checked!(
[INFO] [stdout] 96 |         unsafe { core::str::from_utf8_unchecked(b) },
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__reduce_unsafe_internal` which comes from the expansion of the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::str::from_utf8` with an invalid literal always return an error
[INFO] [stdout]   --> src/lib.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let b = b"hello world\xff";
[INFO] [stdout]    |             ------------------ the literal was valid UTF-8 up to the 11 bytes
[INFO] [stdout] ...
[INFO] [stdout] 97 |         core::str::from_utf8(b).expect("BUG: unsound unsafe code detected")
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(invalid_from_utf8)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__reduce_unsafe_internal` which comes from the expansion of the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "b835436f23a2b8eaf2ad14d41fdeec94561d8e1280856106ccbf9f05aa88f2bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b835436f23a2b8eaf2ad14d41fdeec94561d8e1280856106ccbf9f05aa88f2bc", kill_on_drop: false }`
[INFO] [stdout] b835436f23a2b8eaf2ad14d41fdeec94561d8e1280856106ccbf9f05aa88f2bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1e354a936d6af48e7faa885a854004f07473ef9f4ca203b1213892d325074b5a
[INFO] running `Command { std: "docker" "start" "-a" "1e354a936d6af48e7faa885a854004f07473ef9f4ca203b1213892d325074b5a", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `reduce_unsafe`
[INFO] [stderr]   --> src/lib.rs:81:12
[INFO] [stderr]    |
[INFO] [stderr] 81 | #[cfg_attr(reduce_unsafe, should_panic)]
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(reduce_unsafe)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(reduce_unsafe)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `reduce_unsafe` (lib) generated 1 warning
[INFO] [stderr] warning: unexpected `cfg` condition name: `reduce_unsafe`
[INFO] [stderr]   --> src/lib.rs:46:19
[INFO] [stderr]    |
[INFO] [stderr] 46 |           #[cfg(not(reduce_unsafe))]
[INFO] [stderr]    |                     ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 84 |       let s = unchecked!(
[INFO] [stderr]    |  _____________-
[INFO] [stderr] 85 | |         unsafe { core::str::from_utf8_unchecked(b) },
[INFO] [stderr] 86 | |         core::str::from_utf8(b).expect("BUG: unsound unsafe code detected")
[INFO] [stderr] 87 | |     );
[INFO] [stderr]    | |_____- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(reduce_unsafe)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(reduce_unsafe)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: this warning originates in the macro `unchecked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `reduce_unsafe`
[INFO] [stderr]   --> src/lib.rs:50:15
[INFO] [stderr]    |
[INFO] [stderr] 50 |           #[cfg(reduce_unsafe)]
[INFO] [stderr]    |                 ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 84 |       let s = unchecked!(
[INFO] [stderr]    |  _____________-
[INFO] [stderr] 85 | |         unsafe { core::str::from_utf8_unchecked(b) },
[INFO] [stderr] 86 | |         core::str::from_utf8(b).expect("BUG: unsound unsafe code detected")
[INFO] [stderr] 87 | |     );
[INFO] [stderr]    | |_____- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(reduce_unsafe)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(reduce_unsafe)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: this warning originates in the macro `unchecked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::str::from_utf8_unchecked` with an invalid literal are undefined behavior
[INFO] [stderr]   --> src/lib.rs:85:18
[INFO] [stderr]    |
[INFO] [stderr] 83 |     let b = b"hello world\xff";
[INFO] [stderr]    |             ------------------ the literal was valid UTF-8 up to the 11 bytes
[INFO] [stderr] 84 |     let s = unchecked!(
[INFO] [stderr] 85 |         unsafe { core::str::from_utf8_unchecked(b) },
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(invalid_from_utf8_unchecked)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `__reduce_unsafe_internal` which comes from the expansion of the macro `unchecked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::str::from_utf8_unchecked` with an invalid literal are undefined behavior
[INFO] [stderr]   --> src/lib.rs:96:18
[INFO] [stderr]    |
[INFO] [stderr] 94 |     let b = b"hello world\xff";
[INFO] [stderr]    |             ------------------ the literal was valid UTF-8 up to the 11 bytes
[INFO] [stderr] 95 |     let _ = checked!(
[INFO] [stderr] 96 |         unsafe { core::str::from_utf8_unchecked(b) },
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `__reduce_unsafe_internal` which comes from the expansion of the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::str::from_utf8` with an invalid literal always return an error
[INFO] [stderr]   --> src/lib.rs:97:9
[INFO] [stderr]    |
[INFO] [stderr] 94 |     let b = b"hello world\xff";
[INFO] [stderr]    |             ------------------ the literal was valid UTF-8 up to the 11 bytes
[INFO] [stderr] ...
[INFO] [stderr] 97 |         core::str::from_utf8(b).expect("BUG: unsound unsafe code detected")
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(invalid_from_utf8)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `__reduce_unsafe_internal` which comes from the expansion of the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `reduce_unsafe` (lib test) generated 6 warnings (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reduce_unsafe-80b234fbf609fd18)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test unchecked ... ok
[INFO] [stdout] test checked - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests reduce_unsafe
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 13) ... ok
[INFO] [stdout] test src/lib.rs - (line 23) ... ok
[INFO] [stdout] test src/lib.rs - (line 34) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1e354a936d6af48e7faa885a854004f07473ef9f4ca203b1213892d325074b5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e354a936d6af48e7faa885a854004f07473ef9f4ca203b1213892d325074b5a", kill_on_drop: false }`
[INFO] [stdout] 1e354a936d6af48e7faa885a854004f07473ef9f4ca203b1213892d325074b5a
