[INFO] fetching crate ofw 0.3.1... [INFO] testing ofw-0.3.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ofw 0.3.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ofw 0.3.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 461478a672cd97e2f466ba5006ef52075b122be479d8a4d6b7b32b901d4a7241 [INFO] running `Command { std: "docker" "start" "-a" "461478a672cd97e2f466ba5006ef52075b122be479d8a4d6b7b32b901d4a7241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "461478a672cd97e2f466ba5006ef52075b122be479d8a4d6b7b32b901d4a7241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461478a672cd97e2f466ba5006ef52075b122be479d8a4d6b7b32b901d4a7241", kill_on_drop: false }` [INFO] [stdout] 461478a672cd97e2f466ba5006ef52075b122be479d8a4d6b7b32b901d4a7241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d25f390d075354825336bcdce52e0d863659e9f45bd18b4b7e0ef91e6845ce68 [INFO] running `Command { std: "docker" "start" "-a" "d25f390d075354825336bcdce52e0d863659e9f45bd18b4b7e0ef91e6845ce68", kill_on_drop: false }` [INFO] [stderr] Compiling ofw v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "d25f390d075354825336bcdce52e0d863659e9f45bd18b4b7e0ef91e6845ce68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d25f390d075354825336bcdce52e0d863659e9f45bd18b4b7e0ef91e6845ce68", kill_on_drop: false }` [INFO] [stdout] d25f390d075354825336bcdce52e0d863659e9f45bd18b4b7e0ef91e6845ce68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4f8186e3c0c2386acf499e21cb704535311d367f8cb16d087fdb7e4ee41f895 [INFO] running `Command { std: "docker" "start" "-a" "a4f8186e3c0c2386acf499e21cb704535311d367f8cb16d087fdb7e4ee41f895", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a4f8186e3c0c2386acf499e21cb704535311d367f8cb16d087fdb7e4ee41f895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f8186e3c0c2386acf499e21cb704535311d367f8cb16d087fdb7e4ee41f895", kill_on_drop: false }` [INFO] [stdout] a4f8186e3c0c2386acf499e21cb704535311d367f8cb16d087fdb7e4ee41f895