[INFO] crate safer-ffi 0.0.5 is already in cache [INFO] testing safer-ffi-0.0.5 against 1.45.2 for beta-1.46-1 [INFO] extracting crate safer-ffi 0.0.5 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate safer-ffi 0.0.5 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a798527fea21f3626692a259388b8ff5882b6b4530d6562b40ff759802567daf [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" "a798527fea21f3626692a259388b8ff5882b6b4530d6562b40ff759802567daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a798527fea21f3626692a259388b8ff5882b6b4530d6562b40ff759802567daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a798527fea21f3626692a259388b8ff5882b6b4530d6562b40ff759802567daf", kill_on_drop: false }` [INFO] [stdout] a798527fea21f3626692a259388b8ff5882b6b4530d6562b40ff759802567daf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 312ad43f7748424b4ddbb208380288cfacb087969048ea62c7ece80f1ac6c31c [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" "312ad43f7748424b4ddbb208380288cfacb087969048ea62c7ece80f1ac6c31c", 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.67s [INFO] running `Command { std: "docker" "inspect" "312ad43f7748424b4ddbb208380288cfacb087969048ea62c7ece80f1ac6c31c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "312ad43f7748424b4ddbb208380288cfacb087969048ea62c7ece80f1ac6c31c", kill_on_drop: false }` [INFO] [stdout] 312ad43f7748424b4ddbb208380288cfacb087969048ea62c7ece80f1ac6c31c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ca24ad88fa63fed3e92fd9379bba40f844d3f050244db8c8a4b97b4bd09865f [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" "3ca24ad88fa63fed3e92fd9379bba40f844d3f050244db8c8a4b97b4bd09865f", 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::niche::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::niche::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::niche::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::niche::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::niche::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::niche::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" "3ca24ad88fa63fed3e92fd9379bba40f844d3f050244db8c8a4b97b4bd09865f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca24ad88fa63fed3e92fd9379bba40f844d3f050244db8c8a4b97b4bd09865f", kill_on_drop: false }` [INFO] [stdout] 3ca24ad88fa63fed3e92fd9379bba40f844d3f050244db8c8a4b97b4bd09865f