[INFO] fetching crate cesu8str 0.2.4... [INFO] testing cesu8str-0.2.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cesu8str 0.2.4 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cesu8str 0.2.4 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] 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f3212380a9061c3bfc888f90d4f0f30359615850a1364912716a89842002818d [INFO] running `Command { std: "docker" "start" "-a" "f3212380a9061c3bfc888f90d4f0f30359615850a1364912716a89842002818d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3212380a9061c3bfc888f90d4f0f30359615850a1364912716a89842002818d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3212380a9061c3bfc888f90d4f0f30359615850a1364912716a89842002818d", kill_on_drop: false }` [INFO] [stdout] f3212380a9061c3bfc888f90d4f0f30359615850a1364912716a89842002818d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 50c5da3bd8b666fdeab9ae1dc59bf2555d8c2ece2ba87c99cf74e4a3cc8a5f3d [INFO] running `Command { std: "docker" "start" "-a" "50c5da3bd8b666fdeab9ae1dc59bf2555d8c2ece2ba87c99cf74e4a3cc8a5f3d", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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(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 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 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 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[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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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` 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_eq(val).any(); [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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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` 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_eq(zero).any(); [INFO] [stdout] 157 + let utf8_nul = ENCODE_NUL && chunk.simd_ge(zero).any(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ManuallyDrop: ~const std::ops::Deref` is not satisfied [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] [INFO] [stdout] error[E0277]: the trait bound `ManuallyDrop: ~const std::ops::Deref` is not satisfied [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] [INFO] [stdout] error[E0277]: the trait bound `ManuallyDrop: ~const std::ops::Deref` is not satisfied [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] [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] 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: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cesu8str` (lib) due to 5 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "50c5da3bd8b666fdeab9ae1dc59bf2555d8c2ece2ba87c99cf74e4a3cc8a5f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c5da3bd8b666fdeab9ae1dc59bf2555d8c2ece2ba87c99cf74e4a3cc8a5f3d", kill_on_drop: false }` [INFO] [stdout] 50c5da3bd8b666fdeab9ae1dc59bf2555d8c2ece2ba87c99cf74e4a3cc8a5f3d