[INFO] fetching crate potential_utf 0.1.4... [INFO] testing potential_utf-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate potential_utf 0.1.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate potential_utf 0.1.4 [INFO] finished tweaking crates.io crate potential_utf 0.1.4 [INFO] tweaked toml for crates.io crate potential_utf 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate potential_utf 0.1.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate potential_utf 0.1.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af955e458ef9bbbe98a904c557d8ba3524885ef14c1f437447f8902df5cec03e [INFO] running `Command { std: "docker" "start" "-a" "af955e458ef9bbbe98a904c557d8ba3524885ef14c1f437447f8902df5cec03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af955e458ef9bbbe98a904c557d8ba3524885ef14c1f437447f8902df5cec03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af955e458ef9bbbe98a904c557d8ba3524885ef14c1f437447f8902df5cec03e", kill_on_drop: false }` [INFO] [stdout] af955e458ef9bbbe98a904c557d8ba3524885ef14c1f437447f8902df5cec03e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22997138c21e151d19de22c7833615c076c894fec639fce37c3054aacde069b9 [INFO] running `Command { std: "docker" "start" "-a" "22997138c21e151d19de22c7833615c076c894fec639fce37c3054aacde069b9", kill_on_drop: false }` [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling potential_utf v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "22997138c21e151d19de22c7833615c076c894fec639fce37c3054aacde069b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22997138c21e151d19de22c7833615c076c894fec639fce37c3054aacde069b9", kill_on_drop: false }` [INFO] [stdout] 22997138c21e151d19de22c7833615c076c894fec639fce37c3054aacde069b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1fc2a0fe3556035bf30ea88b0e275e6529fffb44e65a7abf403ea8307da2d21 [INFO] running `Command { std: "docker" "start" "-a" "e1fc2a0fe3556035bf30ea88b0e275e6529fffb44e65a7abf403ea8307da2d21", kill_on_drop: false }` [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling potential_utf v0.1.4 (/opt/rustwide/workdir) [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::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] | --------------------- ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] --> src/uchar.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PotentialCodePoint([u8; 3]); [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_core::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 129 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.145/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | 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::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] | ------------------ ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] --> src/uchar.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PotentialCodePoint([u8; 3]); [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_core::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 129 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::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] | --------------------- ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] --> src/uchar.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PotentialCodePoint([u8; 3]); [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_core::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 129 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.145/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | 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::Deserialize<'de>` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::de::Deserialize<'_>` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] --> src/uchar.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PotentialCodePoint([u8; 3]); [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_core::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 141 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.145/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::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] | ------------------ ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] --> src/uchar.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PotentialCodePoint([u8; 3]); [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_core::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 129 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::Deserialize<'de>` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::de::Deserialize<'_>` is not implemented for `uchar::PotentialCodePoint` [INFO] [stdout] --> src/uchar.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PotentialCodePoint([u8; 3]); [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_core::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 141 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" "e1fc2a0fe3556035bf30ea88b0e275e6529fffb44e65a7abf403ea8307da2d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fc2a0fe3556035bf30ea88b0e275e6529fffb44e65a7abf403ea8307da2d21", kill_on_drop: false }` [INFO] [stdout] e1fc2a0fe3556035bf30ea88b0e275e6529fffb44e65a7abf403ea8307da2d21