[INFO] fetching crate privilege_level 0.1.1... [INFO] testing privilege_level-0.1.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate privilege_level 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate privilege_level 0.1.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5258582677f9aed6b2f83a3ba9a81ff861b3ee07573d28d9fdb0a9aa912c0aec [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" "5258582677f9aed6b2f83a3ba9a81ff861b3ee07573d28d9fdb0a9aa912c0aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5258582677f9aed6b2f83a3ba9a81ff861b3ee07573d28d9fdb0a9aa912c0aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5258582677f9aed6b2f83a3ba9a81ff861b3ee07573d28d9fdb0a9aa912c0aec", kill_on_drop: false }` [INFO] [stdout] 5258582677f9aed6b2f83a3ba9a81ff861b3ee07573d28d9fdb0a9aa912c0aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9e885bdc70b3b1c3a03455045312b72bab526c0aba4a2b075832a9c771ecb2f [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" "f9e885bdc70b3b1c3a03455045312b72bab526c0aba4a2b075832a9c771ecb2f", kill_on_drop: false }` [INFO] [stderr] Compiling x86_64 v0.14.6 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling volatile v0.4.4 [INFO] [stderr] Compiling privilege_level v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "f9e885bdc70b3b1c3a03455045312b72bab526c0aba4a2b075832a9c771ecb2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e885bdc70b3b1c3a03455045312b72bab526c0aba4a2b075832a9c771ecb2f", kill_on_drop: false }` [INFO] [stdout] f9e885bdc70b3b1c3a03455045312b72bab526c0aba4a2b075832a9c771ecb2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--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] 5db8301f1ffdcca1efde5ba295a9df43febc9f87bdf61b1ddb7d7030142be791 [INFO] running `Command { std: "docker" "start" "-a" "5db8301f1ffdcca1efde5ba295a9df43febc9f87bdf61b1ddb7d7030142be791", 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" "5db8301f1ffdcca1efde5ba295a9df43febc9f87bdf61b1ddb7d7030142be791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db8301f1ffdcca1efde5ba295a9df43febc9f87bdf61b1ddb7d7030142be791", kill_on_drop: false }` [INFO] [stdout] 5db8301f1ffdcca1efde5ba295a9df43febc9f87bdf61b1ddb7d7030142be791