[INFO] fetching crate mach-sys 0.5.4... [INFO] building mach-sys-0.5.4 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate mach-sys 0.5.4 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate mach-sys 0.5.4 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mach-sys 0.5.4 [INFO] finished tweaking crates.io crate mach-sys 0.5.4 [INFO] tweaked toml for crates.io crate mach-sys 0.5.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate mach-sys 0.5.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v4.2.1 [INFO] [stderr] Downloaded generic_once_cell v0.1.1 [INFO] [stderr] Downloaded mcslock v0.1.1 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58ad94eacf5058a1adcff7765b33645642d50759f60a8d562ddca72491865a9 [INFO] running `Command { std: "docker" "start" "-a" "c58ad94eacf5058a1adcff7765b33645642d50759f60a8d562ddca72491865a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58ad94eacf5058a1adcff7765b33645642d50759f60a8d562ddca72491865a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58ad94eacf5058a1adcff7765b33645642d50759f60a8d562ddca72491865a9", kill_on_drop: false }` [INFO] [stdout] c58ad94eacf5058a1adcff7765b33645642d50759f60a8d562ddca72491865a9 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ccaee5e347cf344abfd4a8ed1551dc35df8f072786d2ab0defb43bf3bf36673 [INFO] running `Command { std: "docker" "start" "-a" "9ccaee5e347cf344abfd4a8ed1551dc35df8f072786d2ab0defb43bf3bf36673", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling mach-sys v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "9ccaee5e347cf344abfd4a8ed1551dc35df8f072786d2ab0defb43bf3bf36673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccaee5e347cf344abfd4a8ed1551dc35df8f072786d2ab0defb43bf3bf36673", kill_on_drop: false }` [INFO] [stdout] 9ccaee5e347cf344abfd4a8ed1551dc35df8f072786d2ab0defb43bf3bf36673 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb83101ad9bdb8c39dfe7d711b32a7060a87591b6bcc9d3b46f71ef0adad7077 [INFO] running `Command { std: "docker" "start" "-a" "fb83101ad9bdb8c39dfe7d711b32a7060a87591b6bcc9d3b46f71ef0adad7077", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling mach-sys v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:655:19 [INFO] [stdout] | [INFO] [stdout] 655 | assert!(0 == KERN_SUCCESS == KERN_RETURN::KERN_SUCCESS.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 655 | assert!(0 == KERN_SUCCESS && KERN_SUCCESS == KERN_RETURN::KERN_SUCCESS.to_int()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:656:19 [INFO] [stdout] | [INFO] [stdout] 656 | assert!(1 == KERN_INVALID_ADDRESS == KERN_RETURN::KERN_INVALID_ADDRESS.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 656 | assert!(1 == KERN_INVALID_ADDRESS && KERN_INVALID_ADDRESS == KERN_RETURN::KERN_INVALID_ADDRESS.to_int()); [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:657:19 [INFO] [stdout] | [INFO] [stdout] 657 | assert!(2 == KERN_PROTECTION_FAILURE == KERN_RETURN::KERN_PROTECTION_FAILURE.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 657 | assert!(2 == KERN_PROTECTION_FAILURE && KERN_PROTECTION_FAILURE == KERN_RETURN::KERN_PROTECTION_FAILURE.to_int()); [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:658:19 [INFO] [stdout] | [INFO] [stdout] 658 | assert!(3 == KERN_NO_SPACE == KERN_RETURN::KERN_NO_SPACE.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 658 | assert!(3 == KERN_NO_SPACE && KERN_NO_SPACE == KERN_RETURN::KERN_NO_SPACE.to_int()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:659:19 [INFO] [stdout] | [INFO] [stdout] 659 | assert!(4 == KERN_INVALID_ARGUMENT == KERN_RETURN::KERN_INVALID_ARGUMENT.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 659 | assert!(4 == KERN_INVALID_ARGUMENT && KERN_INVALID_ARGUMENT == KERN_RETURN::KERN_INVALID_ARGUMENT.to_int()); [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | assert!(5 == KERN_FAILURE == KERN_RETURN::KERN_FAILURE.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 660 | assert!(5 == KERN_FAILURE && KERN_FAILURE == KERN_RETURN::KERN_FAILURE.to_int()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:661:19 [INFO] [stdout] | [INFO] [stdout] 661 | assert!(6 == KERN_RESOURCE_SHORTAGE == KERN_RETURN::KERN_RESOURCE_SHORTAGE.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 661 | assert!(6 == KERN_RESOURCE_SHORTAGE && KERN_RESOURCE_SHORTAGE == KERN_RETURN::KERN_RESOURCE_SHORTAGE.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:662:19 [INFO] [stdout] | [INFO] [stdout] 662 | assert!(7 == KERN_NOT_RECEIVER == KERN_RETURN::KERN_NOT_RECEIVER.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 662 | assert!(7 == KERN_NOT_RECEIVER && KERN_NOT_RECEIVER == KERN_RETURN::KERN_NOT_RECEIVER.to_int()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:663:19 [INFO] [stdout] | [INFO] [stdout] 663 | assert!(8 == KERN_NO_ACCESS == KERN_RETURN::KERN_NO_ACCESS.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 663 | assert!(8 == KERN_NO_ACCESS && KERN_NO_ACCESS == KERN_RETURN::KERN_NO_ACCESS.to_int()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:664:19 [INFO] [stdout] | [INFO] [stdout] 664 | assert!(9 == KERN_MEMORY_FAILURE == KERN_RETURN::KERN_MEMORY_FAILURE.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 664 | assert!(9 == KERN_MEMORY_FAILURE && KERN_MEMORY_FAILURE == KERN_RETURN::KERN_MEMORY_FAILURE.to_int()); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:665:20 [INFO] [stdout] | [INFO] [stdout] 665 | assert!(10 == KERN_MEMORY_ERROR == KERN_RETURN::KERN_MEMORY_ERROR.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 665 | assert!(10 == KERN_MEMORY_ERROR && KERN_MEMORY_ERROR == KERN_RETURN::KERN_MEMORY_ERROR.to_int()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:666:20 [INFO] [stdout] | [INFO] [stdout] 666 | assert!(11 == KERN_ALREADY_IN_SET == KERN_RETURN::KERN_ALREADY_IN_SET.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 666 | assert!(11 == KERN_ALREADY_IN_SET && KERN_ALREADY_IN_SET == KERN_RETURN::KERN_ALREADY_IN_SET.to_int()); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:667:20 [INFO] [stdout] | [INFO] [stdout] 667 | assert!(12 == KERN_NOT_IN_SET == KERN_RETURN::KERN_NOT_IN_SET.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 667 | assert!(12 == KERN_NOT_IN_SET && KERN_NOT_IN_SET == KERN_RETURN::KERN_NOT_IN_SET.to_int()); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:668:20 [INFO] [stdout] | [INFO] [stdout] 668 | assert!(13 == KERN_NAME_EXISTS == KERN_RETURN::KERN_NAME_EXISTS.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 668 | assert!(13 == KERN_NAME_EXISTS && KERN_NAME_EXISTS == KERN_RETURN::KERN_NAME_EXISTS.to_int()); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:669:20 [INFO] [stdout] | [INFO] [stdout] 669 | assert!(14 == KERN_ABORTED == KERN_RETURN::KERN_ABORTED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 669 | assert!(14 == KERN_ABORTED && KERN_ABORTED == KERN_RETURN::KERN_ABORTED.to_int()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:670:20 [INFO] [stdout] | [INFO] [stdout] 670 | assert!(15 == KERN_INVALID_NAME == KERN_RETURN::KERN_INVALID_NAME.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 670 | assert!(15 == KERN_INVALID_NAME && KERN_INVALID_NAME == KERN_RETURN::KERN_INVALID_NAME.to_int()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:671:20 [INFO] [stdout] | [INFO] [stdout] 671 | assert!(16 == KERN_INVALID_TASK == KERN_RETURN::KERN_INVALID_TASK.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 671 | assert!(16 == KERN_INVALID_TASK && KERN_INVALID_TASK == KERN_RETURN::KERN_INVALID_TASK.to_int()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:672:20 [INFO] [stdout] | [INFO] [stdout] 672 | assert!(17 == KERN_INVALID_RIGHT == KERN_RETURN::KERN_INVALID_RIGHT.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 672 | assert!(17 == KERN_INVALID_RIGHT && KERN_INVALID_RIGHT == KERN_RETURN::KERN_INVALID_RIGHT.to_int()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:673:20 [INFO] [stdout] | [INFO] [stdout] 673 | assert!(18 == KERN_INVALID_VALUE == KERN_RETURN::KERN_INVALID_VALUE.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 673 | assert!(18 == KERN_INVALID_VALUE && KERN_INVALID_VALUE == KERN_RETURN::KERN_INVALID_VALUE.to_int()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:674:20 [INFO] [stdout] | [INFO] [stdout] 674 | assert!(19 == KERN_UREFS_OVERFLOW == KERN_RETURN::KERN_UREFS_OVERFLOW.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 674 | assert!(19 == KERN_UREFS_OVERFLOW && KERN_UREFS_OVERFLOW == KERN_RETURN::KERN_UREFS_OVERFLOW.to_int()); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:675:20 [INFO] [stdout] | [INFO] [stdout] 675 | assert!(20 == KERN_INVALID_CAPABILITY == KERN_RETURN::KERN_INVALID_CAPABILITY.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 675 | assert!(20 == KERN_INVALID_CAPABILITY && KERN_INVALID_CAPABILITY == KERN_RETURN::KERN_INVALID_CAPABILITY.to_int()); [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:676:20 [INFO] [stdout] | [INFO] [stdout] 676 | assert!(21 == KERN_RIGHT_EXISTS == KERN_RETURN::KERN_RIGHT_EXISTS.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 676 | assert!(21 == KERN_RIGHT_EXISTS && KERN_RIGHT_EXISTS == KERN_RETURN::KERN_RIGHT_EXISTS.to_int()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:677:20 [INFO] [stdout] | [INFO] [stdout] 677 | assert!(22 == KERN_INVALID_HOST == KERN_RETURN::KERN_INVALID_HOST.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 677 | assert!(22 == KERN_INVALID_HOST && KERN_INVALID_HOST == KERN_RETURN::KERN_INVALID_HOST.to_int()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:678:20 [INFO] [stdout] | [INFO] [stdout] 678 | assert!(23 == KERN_MEMORY_PRESENT == KERN_RETURN::KERN_MEMORY_PRESENT.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 678 | assert!(23 == KERN_MEMORY_PRESENT && KERN_MEMORY_PRESENT == KERN_RETURN::KERN_MEMORY_PRESENT.to_int()); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:679:20 [INFO] [stdout] | [INFO] [stdout] 679 | assert!(24 == KERN_MEMORY_DATA_MOVED == KERN_RETURN::KERN_MEMORY_DATA_MOVED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 679 | assert!(24 == KERN_MEMORY_DATA_MOVED && KERN_MEMORY_DATA_MOVED == KERN_RETURN::KERN_MEMORY_DATA_MOVED.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | assert!(25 == KERN_MEMORY_RESTART_COPY == KERN_RETURN::KERN_MEMORY_RESTART_COPY.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 680 | assert!(25 == KERN_MEMORY_RESTART_COPY && KERN_MEMORY_RESTART_COPY == KERN_RETURN::KERN_MEMORY_RESTART_COPY.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:681:20 [INFO] [stdout] | [INFO] [stdout] 681 | assert!(26 == KERN_INVALID_PROCESSOR_SET == KERN_RETURN::KERN_INVALID_PROCESSOR_SET.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 681 | assert!(26 == KERN_INVALID_PROCESSOR_SET && KERN_INVALID_PROCESSOR_SET == KERN_RETURN::KERN_INVALID_PROCESSOR_SET.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:682:20 [INFO] [stdout] | [INFO] [stdout] 682 | assert!(27 == KERN_POLICY_LIMIT == KERN_RETURN::KERN_POLICY_LIMIT.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 682 | assert!(27 == KERN_POLICY_LIMIT && KERN_POLICY_LIMIT == KERN_RETURN::KERN_POLICY_LIMIT.to_int()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:683:20 [INFO] [stdout] | [INFO] [stdout] 683 | assert!(28 == KERN_INVALID_POLICY == KERN_RETURN::KERN_INVALID_POLICY.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 683 | assert!(28 == KERN_INVALID_POLICY && KERN_INVALID_POLICY == KERN_RETURN::KERN_INVALID_POLICY.to_int()); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:684:20 [INFO] [stdout] | [INFO] [stdout] 684 | assert!(29 == KERN_INVALID_OBJECT == KERN_RETURN::KERN_INVALID_OBJECT.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 684 | assert!(29 == KERN_INVALID_OBJECT && KERN_INVALID_OBJECT == KERN_RETURN::KERN_INVALID_OBJECT.to_int()); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:685:20 [INFO] [stdout] | [INFO] [stdout] 685 | assert!(30 == KERN_ALREADY_WAITING == KERN_RETURN::KERN_ALREADY_WAITING.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 685 | assert!(30 == KERN_ALREADY_WAITING && KERN_ALREADY_WAITING == KERN_RETURN::KERN_ALREADY_WAITING.to_int()); [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:686:20 [INFO] [stdout] | [INFO] [stdout] 686 | assert!(31 == KERN_DEFAULT_SET == KERN_RETURN::KERN_DEFAULT_SET.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 686 | assert!(31 == KERN_DEFAULT_SET && KERN_DEFAULT_SET == KERN_RETURN::KERN_DEFAULT_SET.to_int()); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 687 | assert!(32 == KERN_EXCEPTION_PROTECTED == KERN_RETURN::KERN_EXCEPTION_PROTECTED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 687 | assert!(32 == KERN_EXCEPTION_PROTECTED && KERN_EXCEPTION_PROTECTED == KERN_RETURN::KERN_EXCEPTION_PROTECTED.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:688:20 [INFO] [stdout] | [INFO] [stdout] 688 | assert!(33 == KERN_INVALID_LEDGER == KERN_RETURN::KERN_INVALID_LEDGER.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 688 | assert!(33 == KERN_INVALID_LEDGER && KERN_INVALID_LEDGER == KERN_RETURN::KERN_INVALID_LEDGER.to_int()); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:689:20 [INFO] [stdout] | [INFO] [stdout] 689 | assert!(34 == KERN_INVALID_MEMORY_CONTROL == KERN_RETURN::KERN_INVALID_MEMORY_CONTROL.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 689 | assert!(34 == KERN_INVALID_MEMORY_CONTROL && KERN_INVALID_MEMORY_CONTROL == KERN_RETURN::KERN_INVALID_MEMORY_CONTROL.to_int()); [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:690:20 [INFO] [stdout] | [INFO] [stdout] 690 | assert!(35 == KERN_INVALID_SECURITY == KERN_RETURN::KERN_INVALID_SECURITY.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 690 | assert!(35 == KERN_INVALID_SECURITY && KERN_INVALID_SECURITY == KERN_RETURN::KERN_INVALID_SECURITY.to_int()); [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:691:20 [INFO] [stdout] | [INFO] [stdout] 691 | assert!(36 == KERN_NOT_DEPRESSED == KERN_RETURN::KERN_NOT_DEPRESSED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 691 | assert!(36 == KERN_NOT_DEPRESSED && KERN_NOT_DEPRESSED == KERN_RETURN::KERN_NOT_DEPRESSED.to_int()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:692:20 [INFO] [stdout] | [INFO] [stdout] 692 | assert!(37 == KERN_TERMINATED == KERN_RETURN::KERN_TERMINATED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 692 | assert!(37 == KERN_TERMINATED && KERN_TERMINATED == KERN_RETURN::KERN_TERMINATED.to_int()); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:693:20 [INFO] [stdout] | [INFO] [stdout] 693 | assert!(38 == KERN_LOCK_SET_DESTROYED == KERN_RETURN::KERN_LOCK_SET_DESTROYED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 693 | assert!(38 == KERN_LOCK_SET_DESTROYED && KERN_LOCK_SET_DESTROYED == KERN_RETURN::KERN_LOCK_SET_DESTROYED.to_int()); [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:694:20 [INFO] [stdout] | [INFO] [stdout] 694 | assert!(39 == KERN_LOCK_UNSTABLE == KERN_RETURN::KERN_LOCK_UNSTABLE.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 694 | assert!(39 == KERN_LOCK_UNSTABLE && KERN_LOCK_UNSTABLE == KERN_RETURN::KERN_LOCK_UNSTABLE.to_int()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:695:20 [INFO] [stdout] | [INFO] [stdout] 695 | assert!(40 == KERN_LOCK_OWNED == KERN_RETURN::KERN_LOCK_OWNED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 695 | assert!(40 == KERN_LOCK_OWNED && KERN_LOCK_OWNED == KERN_RETURN::KERN_LOCK_OWNED.to_int()); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:696:20 [INFO] [stdout] | [INFO] [stdout] 696 | assert!(41 == KERN_LOCK_OWNED_SELF == KERN_RETURN::KERN_LOCK_OWNED_SELF.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 696 | assert!(41 == KERN_LOCK_OWNED_SELF && KERN_LOCK_OWNED_SELF == KERN_RETURN::KERN_LOCK_OWNED_SELF.to_int()); [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:697:20 [INFO] [stdout] | [INFO] [stdout] 697 | assert!(42 == KERN_SEMAPHORE_DESTROYED == KERN_RETURN::KERN_SEMAPHORE_DESTROYED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 697 | assert!(42 == KERN_SEMAPHORE_DESTROYED && KERN_SEMAPHORE_DESTROYED == KERN_RETURN::KERN_SEMAPHORE_DESTROYED.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:698:20 [INFO] [stdout] | [INFO] [stdout] 698 | assert!(43 == KERN_RPC_SERVER_TERMINATED == KERN_RETURN::KERN_RPC_SERVER_TERMINATED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 698 | assert!(43 == KERN_RPC_SERVER_TERMINATED && KERN_RPC_SERVER_TERMINATED == KERN_RETURN::KERN_RPC_SERVER_TERMINATED.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:699:20 [INFO] [stdout] | [INFO] [stdout] 699 | assert!(44 == KERN_RPC_TERMINATE_ORPHAN == KERN_RETURN::KERN_RPC_TERMINATE_ORPHAN.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 699 | assert!(44 == KERN_RPC_TERMINATE_ORPHAN && KERN_RPC_TERMINATE_ORPHAN == KERN_RETURN::KERN_RPC_TERMINATE_ORPHAN.to_int()); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:700:20 [INFO] [stdout] | [INFO] [stdout] 700 | assert!(45 == KERN_RPC_CONTINUE_ORPHAN == KERN_RETURN::KERN_RPC_CONTINUE_ORPHAN.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 700 | assert!(45 == KERN_RPC_CONTINUE_ORPHAN && KERN_RPC_CONTINUE_ORPHAN == KERN_RETURN::KERN_RPC_CONTINUE_ORPHAN.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:701:20 [INFO] [stdout] | [INFO] [stdout] 701 | assert!(46 == KERN_NOT_SUPPORTED == KERN_RETURN::KERN_NOT_SUPPORTED.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 701 | assert!(46 == KERN_NOT_SUPPORTED && KERN_NOT_SUPPORTED == KERN_RETURN::KERN_NOT_SUPPORTED.to_int()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:702:20 [INFO] [stdout] | [INFO] [stdout] 702 | assert!(47 == KERN_NODE_DOWN == KERN_RETURN::KERN_NODE_DOWN.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 702 | assert!(47 == KERN_NODE_DOWN && KERN_NODE_DOWN == KERN_RETURN::KERN_NODE_DOWN.to_int()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:703:20 [INFO] [stdout] | [INFO] [stdout] 703 | assert!(48 == KERN_NOT_WAITING == KERN_RETURN::KERN_NOT_WAITING.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 703 | assert!(48 == KERN_NOT_WAITING && KERN_NOT_WAITING == KERN_RETURN::KERN_NOT_WAITING.to_int()); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:704:20 [INFO] [stdout] | [INFO] [stdout] 704 | assert!(49 == KERN_OPERATION_TIMED_OUT == KERN_RETURN::KERN_OPERATION_TIMED_OUT.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 704 | assert!(49 == KERN_OPERATION_TIMED_OUT && KERN_OPERATION_TIMED_OUT == KERN_RETURN::KERN_OPERATION_TIMED_OUT.to_int()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:705:20 [INFO] [stdout] | [INFO] [stdout] 705 | assert!(50 == KERN_CODESIGN_ERROR == KERN_RETURN::KERN_CODESIGN_ERROR.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 705 | assert!(50 == KERN_CODESIGN_ERROR && KERN_CODESIGN_ERROR == KERN_RETURN::KERN_CODESIGN_ERROR.to_int()); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:706:20 [INFO] [stdout] | [INFO] [stdout] 706 | assert!(51 == KERN_POLICY_STATIC == KERN_RETURN::KERN_POLICY_STATIC.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 706 | assert!(51 == KERN_POLICY_STATIC && KERN_POLICY_STATIC == KERN_RETURN::KERN_POLICY_STATIC.to_int()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/kern_return.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | assert!(256 == KERN_RETURN_MAX == KERN_RETURN::KERN_RETURN_MAX.to_int()); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 707 | assert!(256 == KERN_RETURN_MAX && KERN_RETURN_MAX == KERN_RETURN::KERN_RETURN_MAX.to_int()); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/clock_types.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | use std::io::Write; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let out = format!( $($args)* ); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/clock_types.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | pl!("{}", out); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::p` which comes from the expansion of the macro `pl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/clock_types.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 405 | out.push_str(&format!("spec is equal to {:#?}", dur)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/clock_types.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | out.push_str(&format!("{n:?} is invalid")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/clock_types.rs:401:27 [INFO] [stdout] | [INFO] [stdout] 401 | out.push_str(&format!("spec({spec:#?}) is valid")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/lib.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut s = format!( $($args)* ); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/clock_types.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | pl!("{}", out); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `p` in this scope [INFO] [stdout] --> src/traps.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | p!("task id = {this_task}"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 66 + use crate::p; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/clock_types.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | let mut rets = std::vec::Vec::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/lib.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let mut stderr = std::io::stderr().lock(); [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] | [INFO] [stdout] ::: src/clock_types.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | pl!("{}", out); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::p` which comes from the expansion of the macro `pl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/clock_types.rs:393:19 [INFO] [stdout] | [INFO] [stdout] 393 | let ret = std::panic::catch_unwind(|| { [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/clock_types.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | .collect::>() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/clock_types.rs:392:36 [INFO] [stdout] | [INFO] [stdout] 392 | fn _ops_add(n: clock_res_t) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `String` [INFO] [stdout] --> src/clock_types.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | let mut out = String::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:655:38 [INFO] [stdout] | [INFO] [stdout] 655 | assert!(0 == KERN_SUCCESS == KERN_RETURN::KERN_SUCCESS.to_int()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:656:46 [INFO] [stdout] | [INFO] [stdout] 656 | assert!(1 == KERN_INVALID_ADDRESS == KERN_RETURN::KERN_INVALID_ADDRESS.to_int()); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:657:49 [INFO] [stdout] | [INFO] [stdout] 657 | assert!(2 == KERN_PROTECTION_FAILURE == KERN_RETURN::KERN_PROTECTION_FAILURE.to_int()); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:658:39 [INFO] [stdout] | [INFO] [stdout] 658 | assert!(3 == KERN_NO_SPACE == KERN_RETURN::KERN_NO_SPACE.to_int()); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:659:47 [INFO] [stdout] | [INFO] [stdout] 659 | assert!(4 == KERN_INVALID_ARGUMENT == KERN_RETURN::KERN_INVALID_ARGUMENT.to_int()); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:660:38 [INFO] [stdout] | [INFO] [stdout] 660 | assert!(5 == KERN_FAILURE == KERN_RETURN::KERN_FAILURE.to_int()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:661:48 [INFO] [stdout] | [INFO] [stdout] 661 | assert!(6 == KERN_RESOURCE_SHORTAGE == KERN_RETURN::KERN_RESOURCE_SHORTAGE.to_int()); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:662:43 [INFO] [stdout] | [INFO] [stdout] 662 | assert!(7 == KERN_NOT_RECEIVER == KERN_RETURN::KERN_NOT_RECEIVER.to_int()); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:663:40 [INFO] [stdout] | [INFO] [stdout] 663 | assert!(8 == KERN_NO_ACCESS == KERN_RETURN::KERN_NO_ACCESS.to_int()); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:664:45 [INFO] [stdout] | [INFO] [stdout] 664 | assert!(9 == KERN_MEMORY_FAILURE == KERN_RETURN::KERN_MEMORY_FAILURE.to_int()); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:665:44 [INFO] [stdout] | [INFO] [stdout] 665 | assert!(10 == KERN_MEMORY_ERROR == KERN_RETURN::KERN_MEMORY_ERROR.to_int()); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:666:46 [INFO] [stdout] | [INFO] [stdout] 666 | assert!(11 == KERN_ALREADY_IN_SET == KERN_RETURN::KERN_ALREADY_IN_SET.to_int()); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:667:42 [INFO] [stdout] | [INFO] [stdout] 667 | assert!(12 == KERN_NOT_IN_SET == KERN_RETURN::KERN_NOT_IN_SET.to_int()); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:668:43 [INFO] [stdout] | [INFO] [stdout] 668 | assert!(13 == KERN_NAME_EXISTS == KERN_RETURN::KERN_NAME_EXISTS.to_int()); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:669:39 [INFO] [stdout] | [INFO] [stdout] 669 | assert!(14 == KERN_ABORTED == KERN_RETURN::KERN_ABORTED.to_int()); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:670:44 [INFO] [stdout] | [INFO] [stdout] 670 | assert!(15 == KERN_INVALID_NAME == KERN_RETURN::KERN_INVALID_NAME.to_int()); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:671:44 [INFO] [stdout] | [INFO] [stdout] 671 | assert!(16 == KERN_INVALID_TASK == KERN_RETURN::KERN_INVALID_TASK.to_int()); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:672:45 [INFO] [stdout] | [INFO] [stdout] 672 | assert!(17 == KERN_INVALID_RIGHT == KERN_RETURN::KERN_INVALID_RIGHT.to_int()); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:673:45 [INFO] [stdout] | [INFO] [stdout] 673 | assert!(18 == KERN_INVALID_VALUE == KERN_RETURN::KERN_INVALID_VALUE.to_int()); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:674:46 [INFO] [stdout] | [INFO] [stdout] 674 | assert!(19 == KERN_UREFS_OVERFLOW == KERN_RETURN::KERN_UREFS_OVERFLOW.to_int()); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:675:50 [INFO] [stdout] | [INFO] [stdout] 675 | assert!(20 == KERN_INVALID_CAPABILITY == KERN_RETURN::KERN_INVALID_CAPABILITY.to_int()); [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:676:44 [INFO] [stdout] | [INFO] [stdout] 676 | assert!(21 == KERN_RIGHT_EXISTS == KERN_RETURN::KERN_RIGHT_EXISTS.to_int()); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:677:44 [INFO] [stdout] | [INFO] [stdout] 677 | assert!(22 == KERN_INVALID_HOST == KERN_RETURN::KERN_INVALID_HOST.to_int()); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:678:46 [INFO] [stdout] | [INFO] [stdout] 678 | assert!(23 == KERN_MEMORY_PRESENT == KERN_RETURN::KERN_MEMORY_PRESENT.to_int()); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:679:49 [INFO] [stdout] | [INFO] [stdout] 679 | assert!(24 == KERN_MEMORY_DATA_MOVED == KERN_RETURN::KERN_MEMORY_DATA_MOVED.to_int()); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:680:51 [INFO] [stdout] | [INFO] [stdout] 680 | assert!(25 == KERN_MEMORY_RESTART_COPY == KERN_RETURN::KERN_MEMORY_RESTART_COPY.to_int()); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:681:53 [INFO] [stdout] | [INFO] [stdout] 681 | assert!(26 == KERN_INVALID_PROCESSOR_SET == KERN_RETURN::KERN_INVALID_PROCESSOR_SET.to_int()); [INFO] [stdout] | -------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:682:44 [INFO] [stdout] | [INFO] [stdout] 682 | assert!(27 == KERN_POLICY_LIMIT == KERN_RETURN::KERN_POLICY_LIMIT.to_int()); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:683:46 [INFO] [stdout] | [INFO] [stdout] 683 | assert!(28 == KERN_INVALID_POLICY == KERN_RETURN::KERN_INVALID_POLICY.to_int()); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:684:46 [INFO] [stdout] | [INFO] [stdout] 684 | assert!(29 == KERN_INVALID_OBJECT == KERN_RETURN::KERN_INVALID_OBJECT.to_int()); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:685:47 [INFO] [stdout] | [INFO] [stdout] 685 | assert!(30 == KERN_ALREADY_WAITING == KERN_RETURN::KERN_ALREADY_WAITING.to_int()); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:686:43 [INFO] [stdout] | [INFO] [stdout] 686 | assert!(31 == KERN_DEFAULT_SET == KERN_RETURN::KERN_DEFAULT_SET.to_int()); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:687:51 [INFO] [stdout] | [INFO] [stdout] 687 | assert!(32 == KERN_EXCEPTION_PROTECTED == KERN_RETURN::KERN_EXCEPTION_PROTECTED.to_int()); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:688:46 [INFO] [stdout] | [INFO] [stdout] 688 | assert!(33 == KERN_INVALID_LEDGER == KERN_RETURN::KERN_INVALID_LEDGER.to_int()); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:689:54 [INFO] [stdout] | [INFO] [stdout] 689 | assert!(34 == KERN_INVALID_MEMORY_CONTROL == KERN_RETURN::KERN_INVALID_MEMORY_CONTROL.to_int()); [INFO] [stdout] | --------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:690:48 [INFO] [stdout] | [INFO] [stdout] 690 | assert!(35 == KERN_INVALID_SECURITY == KERN_RETURN::KERN_INVALID_SECURITY.to_int()); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:691:45 [INFO] [stdout] | [INFO] [stdout] 691 | assert!(36 == KERN_NOT_DEPRESSED == KERN_RETURN::KERN_NOT_DEPRESSED.to_int()); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:692:42 [INFO] [stdout] | [INFO] [stdout] 692 | assert!(37 == KERN_TERMINATED == KERN_RETURN::KERN_TERMINATED.to_int()); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:693:50 [INFO] [stdout] | [INFO] [stdout] 693 | assert!(38 == KERN_LOCK_SET_DESTROYED == KERN_RETURN::KERN_LOCK_SET_DESTROYED.to_int()); [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:694:45 [INFO] [stdout] | [INFO] [stdout] 694 | assert!(39 == KERN_LOCK_UNSTABLE == KERN_RETURN::KERN_LOCK_UNSTABLE.to_int()); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:695:42 [INFO] [stdout] | [INFO] [stdout] 695 | assert!(40 == KERN_LOCK_OWNED == KERN_RETURN::KERN_LOCK_OWNED.to_int()); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:696:47 [INFO] [stdout] | [INFO] [stdout] 696 | assert!(41 == KERN_LOCK_OWNED_SELF == KERN_RETURN::KERN_LOCK_OWNED_SELF.to_int()); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:697:51 [INFO] [stdout] | [INFO] [stdout] 697 | assert!(42 == KERN_SEMAPHORE_DESTROYED == KERN_RETURN::KERN_SEMAPHORE_DESTROYED.to_int()); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:698:53 [INFO] [stdout] | [INFO] [stdout] 698 | assert!(43 == KERN_RPC_SERVER_TERMINATED == KERN_RETURN::KERN_RPC_SERVER_TERMINATED.to_int()); [INFO] [stdout] | -------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:699:52 [INFO] [stdout] | [INFO] [stdout] 699 | assert!(44 == KERN_RPC_TERMINATE_ORPHAN == KERN_RETURN::KERN_RPC_TERMINATE_ORPHAN.to_int()); [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:700:51 [INFO] [stdout] | [INFO] [stdout] 700 | assert!(45 == KERN_RPC_CONTINUE_ORPHAN == KERN_RETURN::KERN_RPC_CONTINUE_ORPHAN.to_int()); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | assert!(46 == KERN_NOT_SUPPORTED == KERN_RETURN::KERN_NOT_SUPPORTED.to_int()); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:702:41 [INFO] [stdout] | [INFO] [stdout] 702 | assert!(47 == KERN_NODE_DOWN == KERN_RETURN::KERN_NODE_DOWN.to_int()); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:703:43 [INFO] [stdout] | [INFO] [stdout] 703 | assert!(48 == KERN_NOT_WAITING == KERN_RETURN::KERN_NOT_WAITING.to_int()); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:704:51 [INFO] [stdout] | [INFO] [stdout] 704 | assert!(49 == KERN_OPERATION_TIMED_OUT == KERN_RETURN::KERN_OPERATION_TIMED_OUT.to_int()); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:705:46 [INFO] [stdout] | [INFO] [stdout] 705 | assert!(50 == KERN_CODESIGN_ERROR == KERN_RETURN::KERN_CODESIGN_ERROR.to_int()); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:706:45 [INFO] [stdout] | [INFO] [stdout] 706 | assert!(51 == KERN_POLICY_STATIC == KERN_RETURN::KERN_POLICY_STATIC.to_int()); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kern_return.rs:707:43 [INFO] [stdout] | [INFO] [stdout] 707 | assert!(256 == KERN_RETURN_MAX == KERN_RETURN::KERN_RETURN_MAX.to_int()); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mach-sys` (lib test) due to 119 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fb83101ad9bdb8c39dfe7d711b32a7060a87591b6bcc9d3b46f71ef0adad7077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb83101ad9bdb8c39dfe7d711b32a7060a87591b6bcc9d3b46f71ef0adad7077", kill_on_drop: false }` [INFO] [stdout] fb83101ad9bdb8c39dfe7d711b32a7060a87591b6bcc9d3b46f71ef0adad7077