[INFO] fetching crate privilege_level 0.1.1... [INFO] building privilege_level-0.1.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate privilege_level 0.1.1 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate privilege_level 0.1.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.4.6 [INFO] [stderr] Downloaded x86_64 v0.14.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e62ff4319e786b1f8afe3296cf050468d86f58e60c143dacf0a859ae629dfb02 [INFO] running `Command { std: "docker" "start" "-a" "e62ff4319e786b1f8afe3296cf050468d86f58e60c143dacf0a859ae629dfb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e62ff4319e786b1f8afe3296cf050468d86f58e60c143dacf0a859ae629dfb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e62ff4319e786b1f8afe3296cf050468d86f58e60c143dacf0a859ae629dfb02", kill_on_drop: false }` [INFO] [stdout] e62ff4319e786b1f8afe3296cf050468d86f58e60c143dacf0a859ae629dfb02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a787776117d5a56c513a290521e70994b32b59979a9e2def1918d3a179dcb629 [INFO] running `Command { std: "docker" "start" "-a" "a787776117d5a56c513a290521e70994b32b59979a9e2def1918d3a179dcb629", kill_on_drop: false }` [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 2.00s [INFO] running `Command { std: "docker" "inspect" "a787776117d5a56c513a290521e70994b32b59979a9e2def1918d3a179dcb629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a787776117d5a56c513a290521e70994b32b59979a9e2def1918d3a179dcb629", kill_on_drop: false }` [INFO] [stdout] a787776117d5a56c513a290521e70994b32b59979a9e2def1918d3a179dcb629 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc085cb696028ea8d3c9eae12a6fc06d3af5c235d6f641f8951dbe72cc45a2cf [INFO] running `Command { std: "docker" "start" "-a" "fc085cb696028ea8d3c9eae12a6fc06d3af5c235d6f641f8951dbe72cc45a2cf", 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/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs:115:33: 115:33 (#23), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs:115:43: 115:43 (#23), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs:115:33: 115:33 (#25), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs:115:43: 115:43 (#25), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs:115:33: 115:33 (#27), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs:115:43: 115:43 (#27), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs:115:33: 115:33 (#29), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/macros/mod.rs:115:43: 115:43 (#29), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/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] [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] [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] 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" "fc085cb696028ea8d3c9eae12a6fc06d3af5c235d6f641f8951dbe72cc45a2cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc085cb696028ea8d3c9eae12a6fc06d3af5c235d6f641f8951dbe72cc45a2cf", kill_on_drop: false }` [INFO] [stdout] fc085cb696028ea8d3c9eae12a6fc06d3af5c235d6f641f8951dbe72cc45a2cf