[INFO] fetching crate ofw 0.3.1... [INFO] checking ofw-0.3.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ofw 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ofw 0.3.1 [INFO] finished tweaking crates.io crate ofw 0.3.1 [INFO] tweaked toml for crates.io crate ofw 0.3.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ofw 0.3.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ofw 0.3.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f344f4d4da205593b325b0f5cfac67c87a27e61b1831fdfbd5da7f8b7dc12d1e [INFO] running `Command { std: "docker" "start" "-a" "f344f4d4da205593b325b0f5cfac67c87a27e61b1831fdfbd5da7f8b7dc12d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f344f4d4da205593b325b0f5cfac67c87a27e61b1831fdfbd5da7f8b7dc12d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f344f4d4da205593b325b0f5cfac67c87a27e61b1831fdfbd5da7f8b7dc12d1e", kill_on_drop: false }` [INFO] [stdout] f344f4d4da205593b325b0f5cfac67c87a27e61b1831fdfbd5da7f8b7dc12d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d6154c9890732ba5df6c19a73bb8cfcad4794ed2c9dcbc55e4fcf87357f51e [INFO] running `Command { std: "docker" "start" "-a" "a5d6154c9890732ba5df6c19a73bb8cfcad4794ed2c9dcbc55e4fcf87357f51e", kill_on_drop: false }` [INFO] [stderr] Checking ofw v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ofw::service_result` [INFO] [stdout] --> examples/client_ppc.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use ofw::{call, service_result, ntstr, OFW_TRUE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `service_result` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `NTSTR` as `usize` [INFO] [stdout] --> examples/client_ppc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | call!(entry, results, ntstr!("test"), 1, 1, ntstr!("test")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `NTSTR` as `usize` [INFO] [stdout] --> examples/client_ppc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | call!(entry, results, ntstr!("test"), 1, 1, ntstr!("test")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `NTSTR` as `usize` [INFO] [stdout] --> examples/client_ppc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | call!(entry, results, ntstr!("test"), 1, 1, ntstr!("test")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/client_ppc.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | call!(entry, results, ntstr!("test"), 1, 1, ntstr!("test")); [INFO] [stdout] | ----------------------^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected `i32`, found `NTSTR` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn ofw_call(entry_fn: EntryFunction, service: NTSTR, num_args: i32, num_rets: i32, args_and_rets: T) -> (bool, T) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `ntstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NTSTR` into `i32` [INFO] [stdout] | [INFO] [stdout] 11 | call!(entry, results, ntstr!("test").into(), 1, 1, ntstr!("test")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `NTSTR` as `usize` [INFO] [stdout] --> examples/client_ppc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | call!(entry, results, ntstr!("test"), 1, 1, ntstr!("test")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ofw` (example "client_ppc") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a5d6154c9890732ba5df6c19a73bb8cfcad4794ed2c9dcbc55e4fcf87357f51e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d6154c9890732ba5df6c19a73bb8cfcad4794ed2c9dcbc55e4fcf87357f51e", kill_on_drop: false }` [INFO] [stdout] a5d6154c9890732ba5df6c19a73bb8cfcad4794ed2c9dcbc55e4fcf87357f51e