[INFO] fetching crate privilege_level 0.1.1... [INFO] testing privilege_level-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate privilege_level 0.1.1 into /workspace/builds/worker-1-tc2/source [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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate privilege_level 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding x86_64 v0.14.13 (available: v0.15.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d22a07445c1855f26c01fc881a09e1129a84f319131bf6c77db33a869c4bc3e [INFO] running `Command { std: "docker" "start" "-a" "0d22a07445c1855f26c01fc881a09e1129a84f319131bf6c77db33a869c4bc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d22a07445c1855f26c01fc881a09e1129a84f319131bf6c77db33a869c4bc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d22a07445c1855f26c01fc881a09e1129a84f319131bf6c77db33a869c4bc3e", kill_on_drop: false }` [INFO] [stdout] 0d22a07445c1855f26c01fc881a09e1129a84f319131bf6c77db33a869c4bc3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6918af3ca2ab561505bf943be7f4e59e6f8fed7c777b9d5bd3fba1384070d8b4 [INFO] running `Command { std: "docker" "start" "-a" "6918af3ca2ab561505bf943be7f4e59e6f8fed7c777b9d5bd3fba1384070d8b4", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling x86_64 v0.14.13 [INFO] [stderr] Compiling privilege_level v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.47s [INFO] running `Command { std: "docker" "inspect" "6918af3ca2ab561505bf943be7f4e59e6f8fed7c777b9d5bd3fba1384070d8b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6918af3ca2ab561505bf943be7f4e59e6f8fed7c777b9d5bd3fba1384070d8b4", kill_on_drop: false }` [INFO] [stdout] 6918af3ca2ab561505bf943be7f4e59e6f8fed7c777b9d5bd3fba1384070d8b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad252c4d3fb62dd2ac63e32d2305fbcfbdc8632ae8886e38e735c6422335b967 [INFO] running `Command { std: "docker" "start" "-a" "ad252c4d3fb62dd2ac63e32d2305fbcfbdc8632ae8886e38e735c6422335b967", 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 for `{integer}` to implement `Into` [INFO] [stdout] note: required for `PrivilegeLevel` to implement `From<{integer}>` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 245 | where [INFO] [stdout] 246 | T: Into, [INFO] [stdout] | -------------------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `PrivilegeLevel` to implement `TryFrom<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:115:33: 115:33 (#23), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:115:43: 115:43 (#23), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [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] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `Result`, found enum constructor [INFO] [stdout] | expected because this is `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum constructor `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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:115:33: 115:33 (#25), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:115:43: 115:43 (#25), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:115:33: 115:33 (#27), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:115:43: 115:43 (#27), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [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] | |_________^ the trait `std::fmt::Debug` is not implemented for fn item `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] | [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 for `{integer}` to implement `Into` [INFO] [stdout] note: required for `PrivilegeLevel` to implement `From<{integer}>` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 245 | where [INFO] [stdout] 246 | T: Into, [INFO] [stdout] | -------------------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `PrivilegeLevel` to implement `TryFrom<{integer}>` [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] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `Result`, found enum constructor [INFO] [stdout] | expected because this is `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum constructor `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] | |_________^ the trait `std::fmt::Debug` is not implemented for fn item `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] | [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 for `{integer}` to implement `Into` [INFO] [stdout] note: required for `PrivilegeLevel` to implement `From<{integer}>` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 245 | where [INFO] [stdout] 246 | T: Into, [INFO] [stdout] | -------------------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `PrivilegeLevel` to implement `TryFrom<{integer}>` [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] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `Result`, found enum constructor [INFO] [stdout] | expected because this is `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum constructor `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] | |_________^ the trait `std::fmt::Debug` is not implemented for fn item `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] | [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:115:33: 115:33 (#29), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [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 for `{integer}` to implement `Into` [INFO] [stdout] note: required for `PrivilegeLevel` to implement `From<{integer}>` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 245 | where [INFO] [stdout] 246 | T: Into, [INFO] [stdout] | -------------------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `PrivilegeLevel` to implement `TryFrom<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:115:43: 115:43 (#29), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [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] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `Result`, found enum constructor [INFO] [stdout] | expected because this is `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum constructor `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] | |_________^ the trait `std::fmt::Debug` is not implemented for fn item `fn(_) -> Result<_, _> {Result::<_, _>::Err}` [INFO] [stdout] | [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: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 for `{integer}` to implement `Into` [INFO] [stdout] note: required for `PrivilegeLevel` to implement `From<{integer}>` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 245 | where [INFO] [stdout] 246 | T: Into, [INFO] [stdout] | -------------------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `PrivilegeLevel` to implement `TryFrom<{integer}>` [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 for `{integer}` to implement `Into` [INFO] [stdout] note: required for `PrivilegeLevel` to implement `From<{integer}>` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 245 | where [INFO] [stdout] 246 | T: Into, [INFO] [stdout] | -------------------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `PrivilegeLevel` to implement `TryFrom<{integer}>` [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 for `{integer}` to implement `Into` [INFO] [stdout] note: required for `PrivilegeLevel` to implement `From<{integer}>` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 245 | where [INFO] [stdout] 246 | T: Into, [INFO] [stdout] | -------------------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `PrivilegeLevel` to implement `TryFrom<{integer}>` [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 for `{integer}` to implement `Into` [INFO] [stdout] note: required for `PrivilegeLevel` to implement `From<{integer}>` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | impl From for PrivilegeLevel [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 245 | where [INFO] [stdout] 246 | T: Into, [INFO] [stdout] | -------------------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `PrivilegeLevel` to implement `TryFrom<{integer}>` [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` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "ad252c4d3fb62dd2ac63e32d2305fbcfbdc8632ae8886e38e735c6422335b967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad252c4d3fb62dd2ac63e32d2305fbcfbdc8632ae8886e38e735c6422335b967", kill_on_drop: false }` [INFO] [stdout] ad252c4d3fb62dd2ac63e32d2305fbcfbdc8632ae8886e38e735c6422335b967