[INFO] fetching crate rustic_hal 0.2.0... [INFO] checking rustic_hal-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rustic_hal 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rustic_hal 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustic_hal 0.2.0 [INFO] finished tweaking crates.io crate rustic_hal 0.2.0 [INFO] tweaked toml for crates.io crate rustic_hal 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cast v0.2.7 (available: v0.3.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding criterion v0.2.11 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.13.0) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rand_os v0.1.3 (available: v0.2.2) [INFO] [stderr] Adding rand_xoshiro v0.1.0 (available: v0.6.0) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded rustc_version v0.4.1 [INFO] [stderr] Downloaded csv-core v0.1.11 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded itertools v0.8.2 [INFO] [stderr] Downloaded csv v1.3.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e651504a945ae85754969c9443d8c95d7d240fce42bf12ea551769202ed2707 [INFO] running `Command { std: "docker" "start" "-a" "0e651504a945ae85754969c9443d8c95d7d240fce42bf12ea551769202ed2707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e651504a945ae85754969c9443d8c95d7d240fce42bf12ea551769202ed2707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e651504a945ae85754969c9443d8c95d7d240fce42bf12ea551769202ed2707", kill_on_drop: false }` [INFO] [stdout] 0e651504a945ae85754969c9443d8c95d7d240fce42bf12ea551769202ed2707 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62399bc0c54188a314753a43402f963a4e1a436950093e3367588594cbafebd8 [INFO] running `Command { std: "docker" "start" "-a" "62399bc0c54188a314753a43402f963a4e1a436950093e3367588594cbafebd8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rustic_hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stdout] warning: unexpected `cfg` condition value: `serde_codegen` [INFO] [stdout] --> build.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "serde_codegen")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde_codegen` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `serde_codegen` [INFO] [stdout] --> build.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(feature = "serde_codegen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde_codegen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resource.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let mut lk = OneOrMany::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resource.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | let mut content = entry.get_mut(); //&mut HalLinks [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resource.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | let mut content = entry.get_mut(); //&mut HalLinks [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resource.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | let mut content = entry.get_mut(); //&mut HalLinks [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustic_hal::HalLink` [INFO] [stdout] --> benches/simple_serialisation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rustic_hal::HalLink; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::link::HalLink` [INFO] [stdout] --> src/tests/one_or_many.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::link::HalLink; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::*` [INFO] [stdout] --> src/tests/one_or_many.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'d> T: Deserialize<'d>` is not satisfied [INFO] [stdout] --> src/tests/one_or_many.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | oom: OneOrMany [INFO] [stdout] | ^^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T`, which is required by `OneOrMany: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `T` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: required for `OneOrMany` to implement `Deserialize<'_>` [INFO] [stdout] --> src/resource.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'de, T> Deserialize<'de> for OneOrMany [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 118 | where [INFO] [stdout] 119 | for<'d> T: Deserialize<'d> + Clone, [INFO] [stdout] | --------------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'d> T: Deserialize<'d>` is not satisfied [INFO] [stdout] --> src/tests/one_or_many.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | oom: OneOrMany [INFO] [stdout] | ^^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T`, which is required by `OneOrMany: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `T` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: required for `OneOrMany` to implement `Deserialize<'_>` [INFO] [stdout] --> src/resource.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'de, T> Deserialize<'de> for OneOrMany [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 118 | where [INFO] [stdout] 119 | for<'d> T: Deserialize<'d> + Clone, [INFO] [stdout] | --------------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'d> T: Deserialize<'d>` is not satisfied [INFO] [stdout] --> src/tests/one_or_many.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T`, which is required by `OneOrMany: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `T` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: required for `OneOrMany` to implement `Deserialize<'_>` [INFO] [stdout] --> src/resource.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'de, T> Deserialize<'de> for OneOrMany [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 118 | where [INFO] [stdout] 119 | for<'d> T: Deserialize<'d> + Clone, [INFO] [stdout] | --------------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `OneOrMany` [INFO] [stdout] --> src/tests/one_or_many.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!("test", boh.oom[0]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `OneOrMany` [INFO] [stdout] --> src/tests/one_or_many.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!("test2", boh.oom[1]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resource.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let mut lk = OneOrMany::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resource.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | let mut content = entry.get_mut(); //&mut HalLinks [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resource.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | let mut content = entry.get_mut(); //&mut HalLinks [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resource.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | let mut content = entry.get_mut(); //&mut HalLinks [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustic_hal` (lib test) due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "62399bc0c54188a314753a43402f963a4e1a436950093e3367588594cbafebd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62399bc0c54188a314753a43402f963a4e1a436950093e3367588594cbafebd8", kill_on_drop: false }` [INFO] [stdout] 62399bc0c54188a314753a43402f963a4e1a436950093e3367588594cbafebd8