[INFO] fetching crate safer-ffi 0.0.1... [INFO] testing safer-ffi-0.0.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate safer-ffi 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate safer-ffi 0.0.1 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate safer-ffi 0.0.1 [INFO] finished tweaking crates.io crate safer-ffi 0.0.1 [INFO] tweaked toml for crates.io crate safer-ffi 0.0.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macro_rules_attribute v0.0.1 [INFO] [stderr] Downloaded require_unsafe_in_body v0.2.1 [INFO] [stderr] Downloaded uninit v0.3.0 [INFO] [stderr] Downloaded mini_paste v0.1.11 [INFO] [stderr] Downloaded safer_ffi-proc_macro v0.0.1 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e955a104300e194cf326593c8a8405c9c5eca70d019689960fc29cd81757492b [INFO] running `"docker" "start" "-a" "e955a104300e194cf326593c8a8405c9c5eca70d019689960fc29cd81757492b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling mini_paste-proc_macro v0.1.11 [INFO] [stderr] Compiling safer_ffi-proc_macro v0.0.1 [INFO] [stderr] Compiling mini_paste v0.1.11 [INFO] [stderr] Compiling safer-ffi v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.77s [INFO] running `"docker" "inspect" "e955a104300e194cf326593c8a8405c9c5eca70d019689960fc29cd81757492b"` [INFO] running `"docker" "rm" "-f" "e955a104300e194cf326593c8a8405c9c5eca70d019689960fc29cd81757492b"` [INFO] [stdout] e955a104300e194cf326593c8a8405c9c5eca70d019689960fc29cd81757492b [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 23d35472888129250a36a061c0c2768da939e8fc03ec315712d61ef64dd8f557 [INFO] running `"docker" "start" "-a" "23d35472888129250a36a061c0c2768da939e8fc03ec315712d61ef64dd8f557"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `safer_ffi::layout::derive_ReprC` [INFO] [stderr] --> tests/layout_macros.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | derive_ReprC, [INFO] [stderr] | ^^^^^^^^^^^^ no `derive_ReprC` in `layout` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stderr] --> tests/layout_macros.rs:23:3 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive_ReprC] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stderr] --> tests/layout_macros.rs:30:3 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive_ReprC] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stderr] --> tests/layout_macros.rs:40:3 [INFO] [stderr] | [INFO] [stderr] 40 | #[derive_ReprC] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stderr] --> tests/layout_macros.rs:112:3 [INFO] [stderr] | [INFO] [stderr] 112 | #[derive_ReprC] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `derive_ReprC` [INFO] [stderr] --> tests/layout_macros.rs:270:7 [INFO] [stderr] | [INFO] [stderr] 270 | #[derive_ReprC] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot find macro `c` in this scope [INFO] [stderr] --> tests/layout_macros.rs:317:40 [INFO] [stderr] | [INFO] [stderr] 317 | let mut it: char_p::Ref<'static> = c!(); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `c` in this scope [INFO] [stderr] --> tests/layout_macros.rs:319:10 [INFO] [stderr] | [INFO] [stderr] 319 | it = c!("Hello, World!"); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stderr] --> tests/layout_macros.rs:279:13 [INFO] [stderr] | [INFO] [stderr] 279 | MyBool_Layout(42) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stderr] --> tests/layout_macros.rs:284:13 [INFO] [stderr] | [INFO] [stderr] 284 | MyBool_Layout(43) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stderr] --> tests/layout_macros.rs:290:13 [INFO] [stderr] | [INFO] [stderr] 290 | MyBool_Layout(44) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stderr] --> tests/layout_macros.rs:297:13 [INFO] [stderr] | [INFO] [stderr] 297 | MyBool_Layout(42) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stderr] --> tests/layout_macros.rs:303:13 [INFO] [stderr] | [INFO] [stderr] 303 | MyBool_Layout(43) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MyBool_Layout` in this scope [INFO] [stderr] --> tests/layout_macros.rs:309:13 [INFO] [stderr] | [INFO] [stderr] 309 | MyBool_Layout(unsafe { ::core::mem::transmute(None::) }) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 43 | / pub [INFO] [stderr] 44 | | struct Foo<'a> { [INFO] [stderr] 45 | | b: MyBool, [INFO] [stderr] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stderr] 47 | | } [INFO] [stderr] | | - [INFO] [stderr] | | | [INFO] [stderr] | |_function or associated item `is_valid` not found for this [INFO] [stderr] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 60 | Foo::is_valid(& [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_valid`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 43 | / pub [INFO] [stderr] 44 | | struct Foo<'a> { [INFO] [stderr] 45 | | b: MyBool, [INFO] [stderr] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stderr] 47 | | } [INFO] [stderr] | | - [INFO] [stderr] | | | [INFO] [stderr] | |_function or associated item `is_valid` not found for this [INFO] [stderr] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 70 | Foo::is_valid(& [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_valid`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:81:24 [INFO] [stderr] | [INFO] [stderr] 43 | / pub [INFO] [stderr] 44 | | struct Foo<'a> { [INFO] [stderr] 45 | | b: MyBool, [INFO] [stderr] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stderr] 47 | | } [INFO] [stderr] | | - [INFO] [stderr] | | | [INFO] [stderr] | |_function or associated item `is_valid` not found for this [INFO] [stderr] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 81 | bool::not(Foo::is_valid(& [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_valid`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:91:24 [INFO] [stderr] | [INFO] [stderr] 43 | / pub [INFO] [stderr] 44 | | struct Foo<'a> { [INFO] [stderr] 45 | | b: MyBool, [INFO] [stderr] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stderr] 47 | | } [INFO] [stderr] | | - [INFO] [stderr] | | | [INFO] [stderr] | |_function or associated item `is_valid` not found for this [INFO] [stderr] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 91 | bool::not(Foo::is_valid(& [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_valid`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `is_valid` found for struct `Foo<'_>` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:101:24 [INFO] [stderr] | [INFO] [stderr] 43 | / pub [INFO] [stderr] 44 | | struct Foo<'a> { [INFO] [stderr] 45 | | b: MyBool, [INFO] [stderr] 46 | | field: c_slice::Ref<'a, u32>, [INFO] [stderr] 47 | | } [INFO] [stderr] | | - [INFO] [stderr] | | | [INFO] [stderr] | |_function or associated item `is_valid` not found for this [INFO] [stderr] | doesn't satisfy `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 101 | bool::not(Foo::is_valid(& [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `Foo<'_>` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] `Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut Foo<'_>: safer_ffi::layout::ReprC` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_valid`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `is_valid` found for enum `test_niche::MyBool` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:278:17 [INFO] [stderr] | [INFO] [stderr] 272 | enum MyBool { [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | variant or associated item `is_valid` not found here [INFO] [stderr] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 278 | MyBool::is_valid(& [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `test_niche::MyBool` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_valid`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `is_valid` found for enum `test_niche::MyBool` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:283:17 [INFO] [stderr] | [INFO] [stderr] 272 | enum MyBool { [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | variant or associated item `is_valid` not found here [INFO] [stderr] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 283 | MyBool::is_valid(& [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `test_niche::MyBool` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_valid`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `is_valid` found for enum `test_niche::MyBool` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:289:17 [INFO] [stderr] | [INFO] [stderr] 272 | enum MyBool { [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | variant or associated item `is_valid` not found here [INFO] [stderr] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 289 | MyBool::is_valid(& [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `test_niche::MyBool` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_valid`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `is_valid` found for enum `std::option::Option` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:296:27 [INFO] [stderr] | [INFO] [stderr] 272 | enum MyBool { [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `_: safer_ffi::layout::niche::HasNiche` [INFO] [stderr] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 296 | >::is_valid(& [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::niche::HasNiche` [INFO] [stderr] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `is_valid` found for enum `std::option::Option` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:302:27 [INFO] [stderr] | [INFO] [stderr] 272 | enum MyBool { [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `_: safer_ffi::layout::niche::HasNiche` [INFO] [stderr] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 302 | >::is_valid(& [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::niche::HasNiche` [INFO] [stderr] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `is_valid` found for enum `std::option::Option` in the current scope [INFO] [stderr] --> tests/layout_macros.rs:308:27 [INFO] [stderr] | [INFO] [stderr] 272 | enum MyBool { [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `_: safer_ffi::layout::niche::HasNiche` [INFO] [stderr] | doesn't satisfy `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] ... [INFO] [stderr] 308 | >::is_valid(& [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: the method `is_valid` exists but the following trait bounds were not satisfied: [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `test_niche::MyBool: safer_ffi::layout::niche::HasNiche` [INFO] [stderr] which is required by `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] `std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] which is required by `&mut std::option::Option: safer_ffi::layout::ReprC` [INFO] [stderr] [INFO] [stderr] error: aborting due to 25 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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 `"docker" "inspect" "23d35472888129250a36a061c0c2768da939e8fc03ec315712d61ef64dd8f557"` [INFO] running `"docker" "rm" "-f" "23d35472888129250a36a061c0c2768da939e8fc03ec315712d61ef64dd8f557"` [INFO] [stdout] 23d35472888129250a36a061c0c2768da939e8fc03ec315712d61ef64dd8f557