[INFO] fetching crate cesu8str 0.2.4...
[INFO] checking cesu8str-0.2.4 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate cesu8str 0.2.4 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate cesu8str 0.2.4 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cesu8str 0.2.4
[INFO] finished tweaking crates.io crate cesu8str 0.2.4
[INFO] tweaked toml for crates.io crate cesu8str 0.2.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate cesu8str 0.2.4 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" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c20f3fb2261af457759128f2896b4ee80162cf6e88cb372c0cbd903463fd74fc
[INFO] running `Command { std: "docker" "start" "-a" "c20f3fb2261af457759128f2896b4ee80162cf6e88cb372c0cbd903463fd74fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c20f3fb2261af457759128f2896b4ee80162cf6e88cb372c0cbd903463fd74fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c20f3fb2261af457759128f2896b4ee80162cf6e88cb372c0cbd903463fd74fc", kill_on_drop: false }`
[INFO] [stdout] c20f3fb2261af457759128f2896b4ee80162cf6e88cb372c0cbd903463fd74fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38dcd5f305ff830b4ca303a054c77683a3e1675297d00710a499a11d6518ea6c
[INFO] running `Command { std: "docker" "start" "-a" "38dcd5f305ff830b4ca303a054c77683a3e1675297d00710a499a11d6518ea6c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking fastrand v1.8.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking cesu8str v0.2.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `validate_release`
[INFO] [stdout]    --> src/ngstr/prims.rs:549:43
[INFO] [stdout]     |
[INFO] [stdout] 549 |         if cfg!(debug_assertions) || cfg!(validate_release) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[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(validate_release)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(validate_release)");` 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: unused imports: `BufReader` and `BufWriter`
[INFO] [stdout]  --> src/ngstr/stream.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufReader, BufWriter};
[INFO] [stdout]   |                     ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `validate_release`
[INFO] [stdout]    --> src/lib.rs:186:39
[INFO] [stdout]     |
[INFO] [stdout] 186 |     if cfg!(debug_assertions) || cfg!(validate_release) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^
[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(validate_release)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(validate_release)");` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `validate_release`
[INFO] [stdout]    --> src/lib.rs:196:39
[INFO] [stdout]     |
[INFO] [stdout] 196 |     if cfg!(debug_assertions) || cfg!(validate_release) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^
[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(validate_release)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(validate_release)");` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_ptr_read` has been stable since 1.71.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(const_ptr_read)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `const_deref`
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(const_deref)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `simd_eq` found for struct `std::simd::Simd` in the current scope
[INFO] [stdout]    --> src/ngstr/prims.rs:156:37
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let utf8_4byte = (chunk & mask).simd_eq(val).any();
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout]    --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/core/src/../../portable-simd/crates/core_simd/src/simd/cmp/eq.rs:13:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `std::simd::Simd<u8, LANES>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SimdPartialEq` which provides `simd_eq` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::simd::cmp::SimdPartialEq;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `simd_ge` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let utf8_4byte = (chunk & mask).simd_ge(val).any();
[INFO] [stdout]     |                                     ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `simd_eq` found for struct `std::simd::Simd` in the current scope
[INFO] [stdout]    --> src/ngstr/prims.rs:157:40
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let utf8_nul = ENCODE_NUL && chunk.simd_eq(zero).any();
[INFO] [stdout]     |                                        ^^^^^^^
[INFO] [stdout]    --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/core/src/../../portable-simd/crates/core_simd/src/simd/cmp/eq.rs:13:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `std::simd::Simd<u8, LANES>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SimdPartialEq` which provides `simd_eq` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::simd::cmp::SimdPartialEq;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `simd_ge` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let utf8_nul = ENCODE_NUL && chunk.simd_ge(zero).any();
[INFO] [stdout]     |                                        ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/ngstr/stream.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         todo!("figure out how to subtract characters (not code points) from the end of a string");
[INFO] [stdout]     |         ----------------------------------------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 117 |
[INFO] [stdout] 118 |         Ok(safe_len)
[INFO] [stdout]     |         ^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot perform deref coercion on `ManuallyDrop<cesu8string::Cesu8String>` in constant functions
[INFO] [stdout]   --> src/ngstr/cesu8string.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 |         unsafe { std::ptr::read(&this.inner) }
[INFO] [stdout]    |                                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: attempting to deref into `cesu8string::Cesu8String`
[INFO] [stdout] note: impl defined here, but it is not `const`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/core/src/mem/manually_drop.rs:261:1
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot perform deref coercion on `ManuallyDrop<mutf8string::Mutf8String>` in constant functions
[INFO] [stdout]   --> src/ngstr/mutf8string.rs:34:34
[INFO] [stdout]    |
[INFO] [stdout] 34 |         unsafe { std::ptr::read(&this.inner) }
[INFO] [stdout]    |                                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: attempting to deref into `mutf8string::Mutf8String`
[INFO] [stdout] note: impl defined here, but it is not `const`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/core/src/mem/manually_drop.rs:261:1
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot perform deref coercion on `ManuallyDrop<mutf8cstring::Mutf8CString>` in constant functions
[INFO] [stdout]   --> src/ngstr/mutf8cstring.rs:60:34
[INFO] [stdout]    |
[INFO] [stdout] 60 |         unsafe { std::ptr::read(&this.inner) }
[INFO] [stdout]    |                                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: attempting to deref into `mutf8cstring::Mutf8CString`
[INFO] [stdout] note: impl defined here, but it is not `const`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/core/src/mem/manually_drop.rs:261:1
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unused_utf8_chars`
[INFO] [stdout]    --> src/ngstr/stream.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let unused_utf8_chars = utf8[safe_len..].chars().count();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused_utf8_chars`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0015, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cesu8str` (lib) due to 6 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "38dcd5f305ff830b4ca303a054c77683a3e1675297d00710a499a11d6518ea6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38dcd5f305ff830b4ca303a054c77683a3e1675297d00710a499a11d6518ea6c", kill_on_drop: false }`
[INFO] [stdout] 38dcd5f305ff830b4ca303a054c77683a3e1675297d00710a499a11d6518ea6c
