[INFO] fetching crate magenta 0.2.0... [INFO] checking magenta-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate magenta 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate magenta 0.2.0 [INFO] finished tweaking crates.io crate magenta 0.2.0 [INFO] tweaked toml for crates.io crate magenta 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate magenta 0.2.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 15627654a2642696a8713d3fa1b4ab45984f080e772bd39efb9139e9be30be59 [INFO] running `Command { std: "docker" "start" "-a" "15627654a2642696a8713d3fa1b4ab45984f080e772bd39efb9139e9be30be59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15627654a2642696a8713d3fa1b4ab45984f080e772bd39efb9139e9be30be59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15627654a2642696a8713d3fa1b4ab45984f080e772bd39efb9139e9be30be59", kill_on_drop: false }` [INFO] [stdout] 15627654a2642696a8713d3fa1b4ab45984f080e772bd39efb9139e9be30be59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5c271e2d1847315c8d43da07f9c7387bb51466be8dd481583540dd2ca845397c [INFO] running `Command { std: "docker" "start" "-a" "5c271e2d1847315c8d43da07f9c7387bb51466be8dd481583540dd2ca845397c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking magenta-sys v0.2.0 [INFO] [stderr] Checking magenta v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/channel.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let n_bytes = try!(usize_into_u32(bytes.len()).map_err(|_| Status::ErrOutOfRange)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/channel.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let n_handles = try!(usize_into_u32(handles.len()).map_err(|_| Status::ErrOutOfRange)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/channel.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | let write_num_bytes = try!(usize_into_u32(bytes.len()).map_err( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/channel.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | let write_num_handles = try!(usize_into_u32(handles.len()).map_err( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:516:15 [INFO] [stdout] | [INFO] [stdout] 516 | let len = try!(usize_into_u32(items.len()).map_err(|_| Status::ErrOutOfRange)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | return Ok((true)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 520 - return Ok((true)) [INFO] [stdout] 520 + return Ok(true) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/channel.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let n_bytes = try!(usize_into_u32(bytes.len()).map_err(|_| Status::ErrOutOfRange)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/channel.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let n_handles = try!(usize_into_u32(handles.len()).map_err(|_| Status::ErrOutOfRange)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/channel.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | let write_num_bytes = try!(usize_into_u32(bytes.len()).map_err( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/channel.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | let write_num_handles = try!(usize_into_u32(handles.len()).map_err( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:516:15 [INFO] [stdout] | [INFO] [stdout] 516 | let len = try!(usize_into_u32(items.len()).map_err(|_| Status::ErrOutOfRange)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | return Ok((true)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 520 - return Ok((true)) [INFO] [stdout] 520 + return Ok(true) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:404:22 [INFO] [stdout] | [INFO] [stdout] 404 | fn as_handle_ref(&self) -> HandleRef; [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | fn as_handle_ref(&self) -> HandleRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:438:22 [INFO] [stdout] | [INFO] [stdout] 438 | fn as_handle_ref(&self) -> HandleRef { *self } [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 438 | fn as_handle_ref(&self) -> HandleRef<'_> { *self } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:542:22 [INFO] [stdout] | [INFO] [stdout] 542 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/channel.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl_handle_based!(Channel); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl_handle_based!(Event); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/eventpair.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl_handle_based!(EventPair); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/fifo.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl_handle_based!(Fifo); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/job.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | impl_handle_based!(Job); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/port.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | impl_handle_based!(Port); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/process.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | impl_handle_based!(Process); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/socket.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | impl_handle_based!(Socket); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/timer.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl_handle_based!(Timer); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/thread.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | impl_handle_based!(Thread); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/vmo.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl_handle_based!(Vmo); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_handle_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn as_handle_ref(&self) -> HandleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `duplicate` found for struct `vmo::Vmo` in the current scope [INFO] [stdout] --> src/channel.rs:298:40 [INFO] [stdout] | [INFO] [stdout] 298 | let duplicate_vmo_handle = vmo.duplicate(MX_RIGHT_SAME_RIGHTS).unwrap().into_handle(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/vmo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Vmo(Handle); [INFO] [stdout] | -------------- method `duplicate` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `duplicate_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 298 | let duplicate_vmo_handle = vmo.duplicate_handle(MX_RIGHT_SAME_RIGHTS).unwrap().into_handle(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `duplicate` found for struct `vmo::Vmo` in the current scope [INFO] [stdout] --> src/channel.rs:334:40 [INFO] [stdout] | [INFO] [stdout] 334 | let duplicate_vmo_handle = vmo.duplicate(MX_RIGHT_SAME_RIGHTS).unwrap().into_handle(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/vmo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Vmo(Handle); [INFO] [stdout] | -------------- method `duplicate` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `duplicate_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 334 | let duplicate_vmo_handle = vmo.duplicate_handle(MX_RIGHT_SAME_RIGHTS).unwrap().into_handle(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `channel::Channel` in the current scope [INFO] [stdout] --> src/channel.rs:359:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Channel(Handle); [INFO] [stdout] | ------------------ method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 359 | assert_eq!(p2.wait(MX_CHANNEL_READABLE, deadline_after(hundred_ms)), [INFO] [stdout] | ^^^^ method not found in `channel::Channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `eventpair::EventPair` in the current scope [INFO] [stdout] --> src/eventpair.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EventPair(Handle); [INFO] [stdout] | -------------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | assert_eq!(p2.wait(MX_USER_SIGNAL_0, deadline_after(ten_ms)), Err(Status::ErrTimedOut)); [INFO] [stdout] | ^^^^ method not found in `eventpair::EventPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `eventpair::EventPair` in the current scope [INFO] [stdout] --> src/eventpair.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EventPair(Handle); [INFO] [stdout] | -------------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | assert_eq!(p2.wait(MX_USER_SIGNAL_0, deadline_after(ten_ms)).unwrap(), [INFO] [stdout] | ^^^^ method not found in `eventpair::EventPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `eventpair::EventPair` in the current scope [INFO] [stdout] --> src/eventpair.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EventPair(Handle); [INFO] [stdout] | -------------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(p2.wait(MX_USER_SIGNAL_0, deadline_after(ten_ms)).unwrap(), [INFO] [stdout] | ^^^^ method not found in `eventpair::EventPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `eventpair::EventPair` in the current scope [INFO] [stdout] --> src/eventpair.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EventPair(Handle); [INFO] [stdout] | -------------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(p2.wait(MX_USER_SIGNAL_0, deadline_after(ten_ms)), Err(Status::ErrTimedOut)); [INFO] [stdout] | ^^^^ method not found in `eventpair::EventPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait_async` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | assert!(event.wait_async(&port, key, MX_USER_SIGNAL_0 | MX_USER_SIGNAL_1, [INFO] [stdout] | ------^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait_async` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `wait_async_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 228 | assert!(event.wait_async_handle(&port, key, MX_USER_SIGNAL_0 | MX_USER_SIGNAL_1, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | assert!(event.signal(MX_SIGNAL_NONE, MX_USER_SIGNAL_0).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait_async` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | assert!(event.wait_async(&port, key, MX_USER_SIGNAL_0, WaitAsyncOpts::Once).is_ok()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait_async` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `wait_async_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 252 | assert!(event.wait_async_handle(&port, key, MX_USER_SIGNAL_0, WaitAsyncOpts::Once).is_ok()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait_async` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | assert!(event.wait_async(&port, key, MX_USER_SIGNAL_0, WaitAsyncOpts::Once).is_ok()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait_async` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `wait_async_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 267 | assert!(event.wait_async_handle(&port, key, MX_USER_SIGNAL_0, WaitAsyncOpts::Once).is_ok()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | assert!(event.signal(MX_USER_SIGNAL_0, MX_SIGNAL_NONE).is_ok()); // clear signal [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait_async` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | assert!(event.wait_async(&port, key, MX_USER_SIGNAL_0, WaitAsyncOpts::Once).is_ok()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait_async` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `wait_async_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 273 | assert!(event.wait_async_handle(&port, key, MX_USER_SIGNAL_0, WaitAsyncOpts::Once).is_ok()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | assert!(event.signal(MX_SIGNAL_NONE, MX_USER_SIGNAL_0).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait_async` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | assert!(event.wait_async(&port, key, MX_USER_SIGNAL_0 | MX_USER_SIGNAL_1, [INFO] [stdout] | ------^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait_async` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `wait_async_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 287 | assert!(event.wait_async_handle(&port, key, MX_USER_SIGNAL_0 | MX_USER_SIGNAL_1, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:294:23 [INFO] [stdout] | [INFO] [stdout] 294 | assert!(event.signal(MX_SIGNAL_NONE, MX_USER_SIGNAL_0).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | assert!(event.signal(MX_USER_SIGNAL_0, MX_SIGNAL_NONE).is_ok()); // clear signal [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:314:23 [INFO] [stdout] | [INFO] [stdout] 314 | assert!(event.signal(MX_SIGNAL_NONE, MX_USER_SIGNAL_0).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | assert!(event.signal(MX_USER_SIGNAL_0, MX_SIGNAL_NONE).is_ok()); // clear signal [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | assert!(event.signal(MX_SIGNAL_NONE, MX_USER_SIGNAL_0).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait_async` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/port.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | assert!(event.wait_async(&port, key, MX_USER_SIGNAL_0, WaitAsyncOpts::Repeating).is_ok()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait_async` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `wait_async_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 336 | assert!(event.wait_async_handle(&port, key, MX_USER_SIGNAL_0, WaitAsyncOpts::Repeating).is_ok()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `timer::Timer` in the current scope [INFO] [stdout] --> src/timer.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Timer(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(timer.wait(MX_TIMER_SIGNALED, deadline_after(ten_ms)), Err(Status::ErrTimedOut)); [INFO] [stdout] | ^^^^ method not found in `timer::Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `timer::Timer` in the current scope [INFO] [stdout] --> src/timer.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Timer(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 93 | assert_eq!(timer.wait(MX_TIMER_SIGNALED, deadline_after(twenty_ms)).unwrap(), [INFO] [stdout] | ^^^^ method not found in `timer::Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `timer::Timer` in the current scope [INFO] [stdout] --> src/timer.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Timer(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | assert_eq!(timer.wait(MX_TIMER_SIGNALED, deadline_after(ten_ms)), Err(Status::ErrTimedOut)); [INFO] [stdout] | ^^^^ method not found in `timer::Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `timer::Timer` in the current scope [INFO] [stdout] --> src/timer.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Timer(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 110 | assert_eq!(timer.wait(MX_TIMER_SIGNALED, deadline_after(ten_ms)), Err(Status::ErrTimedOut)); [INFO] [stdout] | ^^^^ method not found in `timer::Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `timer::Timer` in the current scope [INFO] [stdout] --> src/timer.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Timer(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | assert_eq!(timer.wait(MX_TIMER_SIGNALED, deadline_after(twenty_ms)).unwrap(), [INFO] [stdout] | ^^^^ method not found in `timer::Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `timer::Timer` in the current scope [INFO] [stdout] --> src/timer.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Timer(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 119 | assert_eq!(timer.wait(MX_TIMER_SIGNALED, deadline_after(ten_ms)), Err(Status::ErrTimedOut)); [INFO] [stdout] | ^^^^ method not found in `timer::Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `duplicate` found for struct `vmo::Vmo` in the current scope [INFO] [stdout] --> src/lib.rs:638:32 [INFO] [stdout] | [INFO] [stdout] 638 | let readonly_vmo = vmo.duplicate(MX_RIGHT_READ).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/vmo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Vmo(Handle); [INFO] [stdout] | -------------- method `duplicate` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `duplicate_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 638 | let readonly_vmo = vmo.duplicate_handle(MX_RIGHT_READ).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `replace` found for struct `vmo::Vmo` in the current scope [INFO] [stdout] --> src/lib.rs:661:32 [INFO] [stdout] | [INFO] [stdout] 661 | let readonly_vmo = vmo.replace(MX_RIGHT_READ).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/vmo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Vmo(Handle); [INFO] [stdout] | -------------- method `replace` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `replace_handle` with a similar name [INFO] [stdout] | [INFO] [stdout] 661 | let readonly_vmo = vmo.replace_handle(MX_RIGHT_READ).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:675:26 [INFO] [stdout] | [INFO] [stdout] 675 | assert_eq!(event.wait(MX_USER_SIGNAL_0, deadline_after(ten_ms)), Err(Status::ErrTimedOut)); [INFO] [stdout] | ^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:678:23 [INFO] [stdout] | [INFO] [stdout] 678 | assert!(event.signal(MX_SIGNAL_NONE, MX_USER_SIGNAL_0).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:679:26 [INFO] [stdout] | [INFO] [stdout] 679 | assert_eq!(event.wait(MX_USER_SIGNAL_0, deadline_after(ten_ms)).unwrap(), [INFO] [stdout] | ^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:683:26 [INFO] [stdout] | [INFO] [stdout] 683 | assert_eq!(event.wait(MX_USER_SIGNAL_0, deadline_after(ten_ms)).unwrap(), [INFO] [stdout] | ^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:687:23 [INFO] [stdout] | [INFO] [stdout] 687 | assert!(event.signal(MX_USER_SIGNAL_0, MX_SIGNAL_NONE).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:688:26 [INFO] [stdout] | [INFO] [stdout] 688 | assert_eq!(event.wait(MX_USER_SIGNAL_0, deadline_after(ten_ms)), Err(Status::ErrTimedOut)); [INFO] [stdout] | ^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `wait` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:707:20 [INFO] [stdout] | [INFO] [stdout] 707 | assert!(e1.signal(MX_SIGNAL_NONE, MX_USER_SIGNAL_0).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:713:20 [INFO] [stdout] | [INFO] [stdout] 713 | assert!(e2.signal(MX_SIGNAL_NONE, MX_USER_SIGNAL_1).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:719:20 [INFO] [stdout] | [INFO] [stdout] 719 | assert!(e1.signal(MX_USER_SIGNAL_0, MX_SIGNAL_NONE).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signal` found for struct `event::Event` in the current scope [INFO] [stdout] --> src/lib.rs:720:20 [INFO] [stdout] | [INFO] [stdout] 720 | assert!(e2.signal(MX_USER_SIGNAL_1, MX_SIGNAL_NONE).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `event::Event` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Event(Handle); [INFO] [stdout] | ---------------- method `signal` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `signal`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExitStatusExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magenta` (lib test) due to 39 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5c271e2d1847315c8d43da07f9c7387bb51466be8dd481583540dd2ca845397c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c271e2d1847315c8d43da07f9c7387bb51466be8dd481583540dd2ca845397c", kill_on_drop: false }` [INFO] [stdout] 5c271e2d1847315c8d43da07f9c7387bb51466be8dd481583540dd2ca845397c