[INFO] cloning repository https://github.com/kentfredric/powerctl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kentfredric/powerctl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkentfredric%2Fpowerctl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkentfredric%2Fpowerctl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 631c2cbe244ee5937cf38c93e2dd70051860636b [INFO] testing kentfredric/powerctl against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkentfredric%2Fpowerctl" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kentfredric/powerctl on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/kentfredric/powerctl [INFO] finished tweaking git repo https://github.com/kentfredric/powerctl [INFO] tweaked toml for git repo https://github.com/kentfredric/powerctl written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/kentfredric/powerctl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e8da25db921a31eea05201e0306befda0fc7b22e65d008cc89cc233d7a5bb6a [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" "1e8da25db921a31eea05201e0306befda0fc7b22e65d008cc89cc233d7a5bb6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e8da25db921a31eea05201e0306befda0fc7b22e65d008cc89cc233d7a5bb6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8da25db921a31eea05201e0306befda0fc7b22e65d008cc89cc233d7a5bb6a", kill_on_drop: false }` [INFO] [stdout] 1e8da25db921a31eea05201e0306befda0fc7b22e65d008cc89cc233d7a5bb6a [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] 86e8047dd7037942ef9d766a000c2e9b8672689cf5708347c1d0442138748c23 [INFO] running `Command { std: "docker" "start" "-a" "86e8047dd7037942ef9d766a000c2e9b8672689cf5708347c1d0442138748c23", kill_on_drop: false }` [INFO] [stderr] Compiling powerctrl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> libpowerctl/src/maybe.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | type Error = E; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> libpowerctl/src/maybe.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | type Ok = Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> libpowerctl/src/maybe.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / fn into_result(self) -> Result { [INFO] [stdout] 80 | | match self { [INFO] [stdout] 81 | | Maybe::Some(t) => Ok(Some(t)), [INFO] [stdout] 82 | | Maybe::None => Ok(None), [INFO] [stdout] 83 | | Maybe::Err(e) => Err(e), [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> libpowerctl/src/maybe.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn from_error(v: Self::Error) -> Self { Maybe::Err(v) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> libpowerctl/src/maybe.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 90 | | match v { [INFO] [stdout] 91 | | Some(t) => Maybe::Some(t), [INFO] [stdout] 92 | | None => Maybe::None, [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> libpowerctl/src/maybe.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{convert::TryInto, fmt::Debug, ops::Try}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> libpowerctl/src/maybe.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Try for Maybe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> libpowerctl/src/maybe.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | fn into_result(self) -> Result { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> libpowerctl/src/maybe.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> libpowerctl/src/maybe.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | fn from_error(v: Self::Error) -> Self { Maybe::Err(v) } [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> libpowerctl/src/maybe.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0407, E0437, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `powerctrl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "86e8047dd7037942ef9d766a000c2e9b8672689cf5708347c1d0442138748c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e8047dd7037942ef9d766a000c2e9b8672689cf5708347c1d0442138748c23", kill_on_drop: false }` [INFO] [stdout] 86e8047dd7037942ef9d766a000c2e9b8672689cf5708347c1d0442138748c23