[INFO] fetching crate potential_utf 0.1.2... [INFO] checking potential_utf-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate potential_utf 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate potential_utf 0.1.2 [INFO] finished tweaking crates.io crate potential_utf 0.1.2 [INFO] tweaked toml for crates.io crate potential_utf 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate potential_utf 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate potential_utf 0.1.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded writeable v0.6.0 [INFO] [stderr] Downloaded databake v0.2.0 [INFO] [stderr] Downloaded zerovec v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e0ec044d3e117107adc3ac617875964a3a836343d7cd4aeb632cdc254085845 [INFO] running `Command { std: "docker" "start" "-a" "3e0ec044d3e117107adc3ac617875964a3a836343d7cd4aeb632cdc254085845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e0ec044d3e117107adc3ac617875964a3a836343d7cd4aeb632cdc254085845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0ec044d3e117107adc3ac617875964a3a836343d7cd4aeb632cdc254085845", kill_on_drop: false }` [INFO] [stdout] 3e0ec044d3e117107adc3ac617875964a3a836343d7cd4aeb632cdc254085845 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c3edd45d7a4018747bdcebf453aea053ca873075b2386a708fff6445bdce0b1 [INFO] running `Command { std: "docker" "start" "-a" "1c3edd45d7a4018747bdcebf453aea053ca873075b2386a708fff6445bdce0b1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking potential_utf v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stdout] error[E0432]: unresolved import `zerovec` [INFO] [stdout] --> src/uchar.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | use zerovec::ZeroVec; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `zerovec` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerovec`, use `cargo add zerovec` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `databake` [INFO] [stdout] --> src/uchar.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | databake::test_bake!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `databake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `databake` [INFO] [stdout] --> src/uchar.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | databake::test_bake!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `databake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `uchar::PotentialCodePoint: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/uchar.rs:299:31 [INFO] [stdout] | [INFO] [stdout] 299 | serde_json::to_string(&uc).expect_err("serialize invalid char bytes"); [INFO] [stdout] | --------------------- ^^^ the trait `serde::ser::Serialize` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `uchar::PotentialCodePoint` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2239:17 [INFO] [stdout] | [INFO] [stdout] 2237 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2238 | where [INFO] [stdout] 2239 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `uchar::PotentialCodePoint: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/uchar.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | bincode::serialize(&uc).expect_err("serialize invalid char bytes"); [INFO] [stdout] | ------------------ ^^^ the trait `serde::ser::Serialize` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `uchar::PotentialCodePoint` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `uchar::PotentialCodePoint: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/uchar.rs:307:46 [INFO] [stdout] | [INFO] [stdout] 307 | let json_ser = serde_json::to_string(&uc).unwrap(); [INFO] [stdout] | --------------------- ^^^ the trait `serde::ser::Serialize` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `uchar::PotentialCodePoint` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2239:17 [INFO] [stdout] | [INFO] [stdout] 2237 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2238 | where [INFO] [stdout] 2239 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `uchar::PotentialCodePoint: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/uchar.rs:311:43 [INFO] [stdout] | [INFO] [stdout] 311 | let json_de: PotentialCodePoint = serde_json::from_str(&json_ser).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `uchar::PotentialCodePoint` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `uchar::PotentialCodePoint: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/uchar.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | let bytes_ser = bincode::serialize(&uc).unwrap(); [INFO] [stdout] | ------------------ ^^^ the trait `serde::ser::Serialize` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `uchar::PotentialCodePoint` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `uchar::PotentialCodePoint: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/uchar.rs:324:44 [INFO] [stdout] | [INFO] [stdout] 324 | let bytes_de: PotentialCodePoint = bincode::deserialize(&bytes_ser).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `uchar::PotentialCodePoint` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 178 | where [INFO] [stdout] 179 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `potential_utf` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "1c3edd45d7a4018747bdcebf453aea053ca873075b2386a708fff6445bdce0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3edd45d7a4018747bdcebf453aea053ca873075b2386a708fff6445bdce0b1", kill_on_drop: false }` [INFO] [stdout] 1c3edd45d7a4018747bdcebf453aea053ca873075b2386a708fff6445bdce0b1