[INFO] fetching crate privilege_level 0.1.1... [INFO] testing privilege_level-0.1.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate privilege_level 0.1.1 into /workspace/builds/worker-65/source [INFO] validating manifest of crates.io crate privilege_level 0.1.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate privilege_level 0.1.1 [INFO] finished tweaking crates.io crate privilege_level 0.1.1 [INFO] tweaked toml for crates.io crate privilege_level 0.1.1 written to /workspace/builds/worker-65/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b0950a50176c98d63505157c989424840ee34919898e502c5853319816175f9 [INFO] running `Command { std: "docker" "start" "-a" "4b0950a50176c98d63505157c989424840ee34919898e502c5853319816175f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b0950a50176c98d63505157c989424840ee34919898e502c5853319816175f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b0950a50176c98d63505157c989424840ee34919898e502c5853319816175f9", kill_on_drop: false }` [INFO] [stdout] 4b0950a50176c98d63505157c989424840ee34919898e502c5853319816175f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 929363cf1751c02e2cbcc7bd5beda5c50b360ee91b0495da250dbcbbc31e2de4 [INFO] running `Command { std: "docker" "start" "-a" "929363cf1751c02e2cbcc7bd5beda5c50b360ee91b0495da250dbcbbc31e2de4", kill_on_drop: false }` [INFO] [stderr] Compiling x86_64 v0.14.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling volatile v0.4.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling privilege_level v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.21s [INFO] running `Command { std: "docker" "inspect" "929363cf1751c02e2cbcc7bd5beda5c50b360ee91b0495da250dbcbbc31e2de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "929363cf1751c02e2cbcc7bd5beda5c50b360ee91b0495da250dbcbbc31e2de4", kill_on_drop: false }` [INFO] [stdout] 929363cf1751c02e2cbcc7bd5beda5c50b360ee91b0495da250dbcbbc31e2de4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a7c13741553a275fe88e53ebe0422a3eef02f44074b0534dfe5d4d887f4273d [INFO] running `Command { std: "docker" "start" "-a" "6a7c13741553a275fe88e53ebe0422a3eef02f44074b0534dfe5d4d887f4273d", kill_on_drop: false }` [INFO] [stderr] Compiling privilege_level v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `x86_64::PrivilegeLevel: From<{integer}>` is not satisfied [INFO] [stdout] --> src/lib.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | PrivilegeLevel::try_from(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<{integer}>` is not implemented for `x86_64::PrivilegeLevel` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `From<{integer}>` for `PrivilegeLevel` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom<{integer}>` for `PrivilegeLevel` [INFO] [stdout] note: required by `try_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | / assert_ne!( [INFO] [stdout] 327 | | PrivilegeLevel::try_from(0), [INFO] [stdout] 328 | | Err, [INFO] [stdout] 329 | | "Does not contain privilege level 0" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ expected enum `Result`, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found fn item `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `fn(_) -> Result<_, _> {Result::<_, _>::Err}` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/lib.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | / assert_ne!( [INFO] [stdout] 327 | | PrivilegeLevel::try_from(0), [INFO] [stdout] 328 | | Err, [INFO] [stdout] 329 | | "Does not contain privilege level 0" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ `fn(_) -> Result<_, _> {Result::<_, _>::Err}` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `x86_64::PrivilegeLevel: From<{integer}>` is not satisfied [INFO] [stdout] --> src/lib.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | PrivilegeLevel::try_from(1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<{integer}>` is not implemented for `x86_64::PrivilegeLevel` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `From<{integer}>` for `PrivilegeLevel` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom<{integer}>` for `PrivilegeLevel` [INFO] [stdout] note: required by `try_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | / assert_ne!( [INFO] [stdout] 332 | | PrivilegeLevel::try_from(1), [INFO] [stdout] 333 | | Err, [INFO] [stdout] 334 | | "Does not contain privilege level 1" [INFO] [stdout] 335 | | ); [INFO] [stdout] | |_________^ expected enum `Result`, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found fn item `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `fn(_) -> Result<_, _> {Result::<_, _>::Err}` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/lib.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | / assert_ne!( [INFO] [stdout] 332 | | PrivilegeLevel::try_from(1), [INFO] [stdout] 333 | | Err, [INFO] [stdout] 334 | | "Does not contain privilege level 1" [INFO] [stdout] 335 | | ); [INFO] [stdout] | |_________^ `fn(_) -> Result<_, _> {Result::<_, _>::Err}` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `x86_64::PrivilegeLevel: From<{integer}>` is not satisfied [INFO] [stdout] --> src/lib.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | PrivilegeLevel::try_from(2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<{integer}>` is not implemented for `x86_64::PrivilegeLevel` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `From<{integer}>` for `PrivilegeLevel` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom<{integer}>` for `PrivilegeLevel` [INFO] [stdout] note: required by `try_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | / assert_ne!( [INFO] [stdout] 337 | | PrivilegeLevel::try_from(2), [INFO] [stdout] 338 | | Err, [INFO] [stdout] 339 | | "Does not contain privilege level 2" [INFO] [stdout] 340 | | ); [INFO] [stdout] | |_________^ expected enum `Result`, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found fn item `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `fn(_) -> Result<_, _> {Result::<_, _>::Err}` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/lib.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | / assert_ne!( [INFO] [stdout] 337 | | PrivilegeLevel::try_from(2), [INFO] [stdout] 338 | | Err, [INFO] [stdout] 339 | | "Does not contain privilege level 2" [INFO] [stdout] 340 | | ); [INFO] [stdout] | |_________^ `fn(_) -> Result<_, _> {Result::<_, _>::Err}` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `x86_64::PrivilegeLevel: From<{integer}>` is not satisfied [INFO] [stdout] --> src/lib.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | PrivilegeLevel::try_from(3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<{integer}>` is not implemented for `x86_64::PrivilegeLevel` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `From<{integer}>` for `PrivilegeLevel` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom<{integer}>` for `PrivilegeLevel` [INFO] [stdout] note: required by `try_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | / assert_ne!( [INFO] [stdout] 342 | | PrivilegeLevel::try_from(3), [INFO] [stdout] 343 | | Err, [INFO] [stdout] 344 | | "Does not contain privilege level 3" [INFO] [stdout] 345 | | ); [INFO] [stdout] | |_________^ expected enum `Result`, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found fn item `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `fn(_) -> Result<_, _> {Result::<_, _>::Err}` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/lib.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | / assert_ne!( [INFO] [stdout] 342 | | PrivilegeLevel::try_from(3), [INFO] [stdout] 343 | | Err, [INFO] [stdout] 344 | | "Does not contain privilege level 3" [INFO] [stdout] 345 | | ); [INFO] [stdout] | |_________^ `fn(_) -> Result<_, _> {Result::<_, _>::Err}` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `privilege_level` due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "6a7c13741553a275fe88e53ebe0422a3eef02f44074b0534dfe5d4d887f4273d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a7c13741553a275fe88e53ebe0422a3eef02f44074b0534dfe5d4d887f4273d", kill_on_drop: false }` [INFO] [stdout] 6a7c13741553a275fe88e53ebe0422a3eef02f44074b0534dfe5d4d887f4273d