[INFO] fetching crate rustic_hal 0.2.0... [INFO] testing rustic_hal-0.2.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate rustic_hal 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rustic_hal 0.2.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", 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] 64c49dedbea114faa0c486c42658483bd27fd3e462e542142cedeaf850eff0d1 [INFO] running `Command { std: "docker" "start" "-a" "64c49dedbea114faa0c486c42658483bd27fd3e462e542142cedeaf850eff0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64c49dedbea114faa0c486c42658483bd27fd3e462e542142cedeaf850eff0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c49dedbea114faa0c486c42658483bd27fd3e462e542142cedeaf850eff0d1", kill_on_drop: false }` [INFO] [stdout] 64c49dedbea114faa0c486c42658483bd27fd3e462e542142cedeaf850eff0d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--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] 3ca51dba3fc6af1eadfdfab475a57dae557bd90860749d8434144097748324d5 [INFO] running `Command { std: "docker" "start" "-a" "3ca51dba3fc6af1eadfdfab475a57dae557bd90860749d8434144097748324d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling rustic_hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.7 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.73s [INFO] running `Command { std: "docker" "inspect" "3ca51dba3fc6af1eadfdfab475a57dae557bd90860749d8434144097748324d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca51dba3fc6af1eadfdfab475a57dae557bd90860749d8434144097748324d5", kill_on_drop: false }` [INFO] [stdout] 3ca51dba3fc6af1eadfdfab475a57dae557bd90860749d8434144097748324d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeb7ded3033d464fd2991e48131d42b6bb47ba8c7b5a0cb0b27e504a325efd22 [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" "eeb7ded3033d464fd2991e48131d42b6bb47ba8c7b5a0cb0b27e504a325efd22", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling tinytemplate v1.1.0 [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] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling rustic_hal v0.2.0 (/opt/rustwide/workdir) [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: serde::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> serde::Deserialize<'d>` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `resource::OneOrMany` [INFO] [stdout] = note: required by `serde::de::SeqAccess::next_element` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize + for<'d> serde::Deserialize<'d>)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'d> T: serde::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> serde::Deserialize<'d>` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `resource::OneOrMany` [INFO] [stdout] = note: required by `serde::de::MapAccess::next_value` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize + for<'d> serde::Deserialize<'d>)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `resource::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 `resource::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" "eeb7ded3033d464fd2991e48131d42b6bb47ba8c7b5a0cb0b27e504a325efd22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb7ded3033d464fd2991e48131d42b6bb47ba8c7b5a0cb0b27e504a325efd22", kill_on_drop: false }` [INFO] [stdout] eeb7ded3033d464fd2991e48131d42b6bb47ba8c7b5a0cb0b27e504a325efd22