[INFO] crate safer-ffi 0.0.5 is already in cache [INFO] testing safer-ffi-0.0.5 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate safer-ffi 0.0.5 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate safer-ffi 0.0.5 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] started tweaking crates.io crate safer-ffi 0.0.5 [INFO] finished tweaking crates.io crate safer-ffi 0.0.5 [INFO] tweaked toml for crates.io crate safer-ffi 0.0.5 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc2d990c55ed049660dd58e107108ca76ecd0547c5f0e4c3bf43ca518eef4496 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc2d990c55ed049660dd58e107108ca76ecd0547c5f0e4c3bf43ca518eef4496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc2d990c55ed049660dd58e107108ca76ecd0547c5f0e4c3bf43ca518eef4496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2d990c55ed049660dd58e107108ca76ecd0547c5f0e4c3bf43ca518eef4496", kill_on_drop: false }` [INFO] [stdout] dc2d990c55ed049660dd58e107108ca76ecd0547c5f0e4c3bf43ca518eef4496 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cbd2d9ab52ea2452a7b48f2c89d689ba50d2afd0892b5da40695979aeda89ca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1cbd2d9ab52ea2452a7b48f2c89d689ba50d2afd0892b5da40695979aeda89ca", kill_on_drop: false }` [INFO] [stderr] Compiling mini_paste-proc_macro v0.1.11 [INFO] [stderr] Compiling safer_ffi-proc_macro v0.0.5 [INFO] [stderr] Compiling mini_paste v0.1.11 [INFO] [stderr] Compiling safer-ffi v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "1cbd2d9ab52ea2452a7b48f2c89d689ba50d2afd0892b5da40695979aeda89ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cbd2d9ab52ea2452a7b48f2c89d689ba50d2afd0892b5da40695979aeda89ca", kill_on_drop: false }` [INFO] [stdout] 1cbd2d9ab52ea2452a7b48f2c89d689ba50d2afd0892b5da40695979aeda89ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf726ced6797bc3c485ad88819f47af810fd457d08693a4d0f01cd79f7d7a8bf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf726ced6797bc3c485ad88819f47af810fd457d08693a4d0f01cd79f7d7a8bf", kill_on_drop: false }` [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.0.1 [INFO] [stderr] Compiling macro_rules_attribute v0.0.1 [INFO] [stderr] Compiling safer-ffi v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `safer_ffi::layout::derive_ReprC` [INFO] [stdout] --> tests/layout_macros.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | derive_ReprC, [INFO] [stdout] | ^^^^^^^^^^^^ no `derive_ReprC` in `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stdout] --> tests/layout_macros.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive_ReprC] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stdout] --> tests/layout_macros.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive_ReprC] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stdout] --> tests/layout_macros.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive_ReprC] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stdout] --> tests/layout_macros.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive_ReprC] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stdout] --> tests/layout_macros.rs:270:7 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive_ReprC] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c` in this scope [INFO] [stdout] --> tests/layout_macros.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | let mut it: char_p::Ref<'static> = c!(); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c` in this scope [INFO] [stdout] --> tests/layout_macros.rs:319:10 [INFO] [stdout] | [INFO] [stdout] 319 | it = c!("Hello, World!"); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stdout] --> tests/layout_macros.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | MyBool_Layout(42) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stdout] --> tests/layout_macros.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | MyBool_Layout(43) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stdout] --> tests/layout_macros.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | MyBool_Layout(44) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stdout] --> tests/layout_macros.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | MyBool_Layout(42) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stdout] --> tests/layout_macros.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | MyBool_Layout(43) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stdout] --> tests/layout_macros.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | MyBool_Layout(unsafe { ::core::mem::transmute(None::) }) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 43 | / pub [INFO] [stdout] 44 | | struct Foo<'a> { [INFO] [stdout] 45 | | b: MyBool, [INFO] [stdout] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stdout] 47 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_function or associated item `is_valid` not found for this [INFO] [stdout] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 60 | Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [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 `is_valid`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 43 | / pub [INFO] [stdout] 44 | | struct Foo<'a> { [INFO] [stdout] 45 | | b: MyBool, [INFO] [stdout] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stdout] 47 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_function or associated item `is_valid` not found for this [INFO] [stdout] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 70 | Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [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 `is_valid`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 43 | / pub [INFO] [stdout] 44 | | struct Foo<'a> { [INFO] [stdout] 45 | | b: MyBool, [INFO] [stdout] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stdout] 47 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_function or associated item `is_valid` not found for this [INFO] [stdout] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 81 | bool::not(Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [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 `is_valid`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 43 | / pub [INFO] [stdout] 44 | | struct Foo<'a> { [INFO] [stdout] 45 | | b: MyBool, [INFO] [stdout] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stdout] 47 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_function or associated item `is_valid` not found for this [INFO] [stdout] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 91 | bool::not(Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [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 `is_valid`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 43 | / pub [INFO] [stdout] 44 | | struct Foo<'a> { [INFO] [stdout] 45 | | b: MyBool, [INFO] [stdout] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stdout] 47 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_function or associated item `is_valid` not found for this [INFO] [stdout] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 101 | bool::not(Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [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 `is_valid`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `is_valid` found for enum `test_niche::MyBool` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `is_valid` not found here [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 278 | MyBool::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `test_niche::MyBool` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut test_niche::MyBool: safer_ffi::layout::ReprC` [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 `is_valid`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `is_valid` found for enum `test_niche::MyBool` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `is_valid` not found here [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 283 | MyBool::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `test_niche::MyBool` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut test_niche::MyBool: safer_ffi::layout::ReprC` [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 `is_valid`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `is_valid` found for enum `test_niche::MyBool` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `is_valid` not found here [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 289 | MyBool::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `test_niche::MyBool` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut test_niche::MyBool: safer_ffi::layout::ReprC` [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 `is_valid`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `is_valid` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: safer_ffi::layout::__HasNiche__` [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 296 | >::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::__HasNiche__` [INFO] [stdout] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `is_valid` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:302:27 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: safer_ffi::layout::__HasNiche__` [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 302 | >::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::__HasNiche__` [INFO] [stdout] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `is_valid` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> tests/layout_macros.rs:308:27 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: safer_ffi::layout::__HasNiche__` [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] ... [INFO] [stdout] 308 | >::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `test_niche::MyBool: safer_ffi::layout::__HasNiche__` [INFO] [stdout] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] which is required by `&mut std::option::Option: safer_ffi::layout::ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safer-ffi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf726ced6797bc3c485ad88819f47af810fd457d08693a4d0f01cd79f7d7a8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf726ced6797bc3c485ad88819f47af810fd457d08693a4d0f01cd79f7d7a8bf", kill_on_drop: false }` [INFO] [stdout] cf726ced6797bc3c485ad88819f47af810fd457d08693a4d0f01cd79f7d7a8bf