[INFO] fetching crate privilege_level 0.1.1... [INFO] checking privilege_level-0.1.1 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate privilege_level 0.1.1 into /workspace/builds/worker-58/source [INFO] validating manifest of crates.io crate privilege_level 0.1.1 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-58/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a75a21048d585a0ce51ced4eee77b70260146db8b7c82e7f5855d46d6423c8a [INFO] running `Command { std: "docker" "start" "-a" "1a75a21048d585a0ce51ced4eee77b70260146db8b7c82e7f5855d46d6423c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a75a21048d585a0ce51ced4eee77b70260146db8b7c82e7f5855d46d6423c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a75a21048d585a0ce51ced4eee77b70260146db8b7c82e7f5855d46d6423c8a", kill_on_drop: false }` [INFO] [stdout] 1a75a21048d585a0ce51ced4eee77b70260146db8b7c82e7f5855d46d6423c8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b53a1a56d291238c7c1f244bbbfaa51cf867d2d4144c24d0475a0ddf0f12a4bf [INFO] running `Command { std: "docker" "start" "-a" "b53a1a56d291238c7c1f244bbbfaa51cf867d2d4144c24d0475a0ddf0f12a4bf", kill_on_drop: false }` [INFO] [stderr] Compiling x86_64 v0.14.6 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking 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] [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] [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] [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] [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" "b53a1a56d291238c7c1f244bbbfaa51cf867d2d4144c24d0475a0ddf0f12a4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53a1a56d291238c7c1f244bbbfaa51cf867d2d4144c24d0475a0ddf0f12a4bf", kill_on_drop: false }` [INFO] [stdout] b53a1a56d291238c7c1f244bbbfaa51cf867d2d4144c24d0475a0ddf0f12a4bf