[INFO] fetching crate rustic_hal 0.2.0... [INFO] checking rustic_hal-0.2.0 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate rustic_hal 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate rustic_hal 0.2.0 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 343d3849ec88aad96daecfe89fec67ff403b6e2dea864efc62bac248a9a2e3a4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "343d3849ec88aad96daecfe89fec67ff403b6e2dea864efc62bac248a9a2e3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "343d3849ec88aad96daecfe89fec67ff403b6e2dea864efc62bac248a9a2e3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343d3849ec88aad96daecfe89fec67ff403b6e2dea864efc62bac248a9a2e3a4", kill_on_drop: false }` [INFO] [stdout] 343d3849ec88aad96daecfe89fec67ff403b6e2dea864efc62bac248a9a2e3a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4d5732d43c87df39ff94e2dacf97b3ee26a8f85afee153459318b0f1b8dcbebe [INFO] running `Command { std: "docker" "start" "-a" "4d5732d43c87df39ff94e2dacf97b3ee26a8f85afee153459318b0f1b8dcbebe", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustic_hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking tinytemplate v1.2.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [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:5 [INFO] [stdout] | [INFO] [stdout] 10 | oom: OneOrMany [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `OneOrMany` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize + for<'d> Deserialize<'d>)] [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:5 [INFO] [stdout] | [INFO] [stdout] 10 | oom: OneOrMany [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `OneOrMany` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize + for<'d> Deserialize<'d>)] [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:32:24 [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:25 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!("test2", boh.oom[1]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4d5732d43c87df39ff94e2dacf97b3ee26a8f85afee153459318b0f1b8dcbebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5732d43c87df39ff94e2dacf97b3ee26a8f85afee153459318b0f1b8dcbebe", kill_on_drop: false }` [INFO] [stdout] 4d5732d43c87df39ff94e2dacf97b3ee26a8f85afee153459318b0f1b8dcbebe