[INFO] fetching crate safer-ffi 0.0.6... [INFO] building safer-ffi-0.0.6 against try#d5c88c22807925c189328ef9d923c5d2b11a95b8+rustflags=-Zprofile-closures for pr-87066-3 [INFO] extracting crate safer-ffi 0.0.6 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate safer-ffi 0.0.6 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] removed /workspace/builds/worker-0/source/rust-toolchain [INFO] started tweaking crates.io crate safer-ffi 0.0.6 [INFO] finished tweaking crates.io crate safer-ffi 0.0.6 [INFO] tweaked toml for crates.io crate safer-ffi 0.0.6 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mini_paste v0.1.11 [INFO] [stderr] Downloaded macro_rules_attribute v0.0.1 [INFO] [stderr] Downloaded require_unsafe_in_body v0.2.1 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.0.1 [INFO] [stderr] Downloaded mini_paste-proc_macro v0.1.11 [INFO] [stderr] Downloaded uninit v0.3.0 [INFO] [stderr] Downloaded safer_ffi-proc_macro v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2ab6b2fe9f7480e2730e2e51694c23d8bf62db918db5e82efc5646206c589d54 [INFO] running `Command { std: "docker" "start" "-a" "2ab6b2fe9f7480e2730e2e51694c23d8bf62db918db5e82efc5646206c589d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ab6b2fe9f7480e2730e2e51694c23d8bf62db918db5e82efc5646206c589d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab6b2fe9f7480e2730e2e51694c23d8bf62db918db5e82efc5646206c589d54", kill_on_drop: false }` [INFO] [stdout] 2ab6b2fe9f7480e2730e2e51694c23d8bf62db918db5e82efc5646206c589d54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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 -Zprofile-closures" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36ca978a71ca22b0bd5178e2ae3be4d709a51f5bc3c374f6841b31ef04f839e6 [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" "36ca978a71ca22b0bd5178e2ae3be4d709a51f5bc3c374f6841b31ef04f839e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling mini_paste-proc_macro v0.1.11 [INFO] [stderr] Compiling safer_ffi-proc_macro v0.0.6 [INFO] [stderr] SG_CR_Eslkdjf: build_script_build, (7e386289983c9262, 898826c752d3da08), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: mini_paste_proc_macro, (3833d9965cb7febf, e99d473774428102), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: mini_paste_proc_macro, (fd9c6d71e3839048, e2299fe98129cb53), 0, 0 [INFO] [stderr] Compiling mini_paste v0.1.11 [INFO] [stderr] Compiling safer-ffi v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] SG_CR_Eslkdjf: safer_ffi, (c039fd40204437e5, 995bf95142409e14), 16, 16 [INFO] [stderr] SG_CR_Eslkdjf: safer_ffi, (33977dd0cd4214e4, e408062b420e89e1), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: safer_ffi, (4f88ebe0e7fb5171, 3ce61dd734124cbb), 8, 8 [INFO] [stderr] SG_CR_Eslkdjf: safer_ffi, (937fedce41d97fe4, 69d1c3bd36e086a), 0, 0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "36ca978a71ca22b0bd5178e2ae3be4d709a51f5bc3c374f6841b31ef04f839e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ca978a71ca22b0bd5178e2ae3be4d709a51f5bc3c374f6841b31ef04f839e6", kill_on_drop: false }` [INFO] [stdout] 36ca978a71ca22b0bd5178e2ae3be4d709a51f5bc3c374f6841b31ef04f839e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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 -Zprofile-closures" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 57eb4050e50b0e67c1c62582451960943791884f2a08b584d6cf64417fb404cd [INFO] running `Command { std: "docker" "start" "-a" "57eb4050e50b0e67c1c62582451960943791884f2a08b584d6cf64417fb404cd", kill_on_drop: false }` [INFO] [stderr] SG_CR_Eslkdjf: build_script_build, (7e386289983c9262, 898826c752d3da08), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: mini_paste_proc_macro, (3833d9965cb7febf, e99d473774428102), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: mini_paste_proc_macro, (fd9c6d71e3839048, e2299fe98129cb53), 0, 0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.0.1 [INFO] [stderr] SG_CR_Eslkdjf: safer_ffi, (c039fd40204437e5, 995bf95142409e14), 16, 16 [INFO] [stderr] SG_CR_Eslkdjf: safer_ffi, (33977dd0cd4214e4, e408062b420e89e1), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: safer_ffi, (4f88ebe0e7fb5171, 3ce61dd734124cbb), 8, 8 [INFO] [stderr] SG_CR_Eslkdjf: safer_ffi, (937fedce41d97fe4, 69d1c3bd36e086a), 0, 0 [INFO] [stderr] Compiling macro_rules_attribute v0.0.1 [INFO] [stderr] Compiling safer-ffi v0.0.6 (/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]: the function or associated item `is_valid` exists for struct `Foo<'_>`, but its trait bounds were not satisfied [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<'_>: ReprC` [INFO] [stdout] ... [INFO] [stdout] 60 | Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item cannot be called on `Foo<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&Foo<'_>: ReprC` [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: 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: `ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `is_valid` exists for struct `Foo<'_>`, but its trait bounds were not satisfied [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<'_>: ReprC` [INFO] [stdout] ... [INFO] [stdout] 70 | Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item cannot be called on `Foo<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&Foo<'_>: ReprC` [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: 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: `ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `is_valid` exists for struct `Foo<'_>`, but its trait bounds were not satisfied [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<'_>: ReprC` [INFO] [stdout] ... [INFO] [stdout] 81 | bool::not(Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item cannot be called on `Foo<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&Foo<'_>: ReprC` [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: 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: `ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `is_valid` exists for struct `Foo<'_>`, but its trait bounds were not satisfied [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<'_>: ReprC` [INFO] [stdout] ... [INFO] [stdout] 91 | bool::not(Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item cannot be called on `Foo<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&Foo<'_>: ReprC` [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: 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: `ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `is_valid` exists for struct `Foo<'_>`, but its trait bounds were not satisfied [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<'_>: ReprC` [INFO] [stdout] ... [INFO] [stdout] 101 | bool::not(Foo::is_valid(& [INFO] [stdout] | ^^^^^^^^ function or associated item cannot be called on `Foo<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&Foo<'_>: ReprC` [INFO] [stdout] `Foo<'_>: ReprC` [INFO] [stdout] which is required by `&mut Foo<'_>: 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: `ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `is_valid` exists for enum `test_niche::MyBool`, but its trait bounds were not satisfied [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: ReprC` [INFO] [stdout] ... [INFO] [stdout] 278 | MyBool::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item cannot be called on `test_niche::MyBool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `&test_niche::MyBool: ReprC` [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `&mut test_niche::MyBool: 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: `ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `is_valid` exists for enum `test_niche::MyBool`, but its trait bounds were not satisfied [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: ReprC` [INFO] [stdout] ... [INFO] [stdout] 283 | MyBool::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item cannot be called on `test_niche::MyBool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `&test_niche::MyBool: ReprC` [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `&mut test_niche::MyBool: 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: `ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `is_valid` exists for enum `test_niche::MyBool`, but its trait bounds were not satisfied [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: ReprC` [INFO] [stdout] ... [INFO] [stdout] 289 | MyBool::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item cannot be called on `test_niche::MyBool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `&test_niche::MyBool: ReprC` [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `&mut test_niche::MyBool: 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: `ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `is_valid` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/layout_macros.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: ReprC` [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: __HasNiche__` [INFO] [stdout] ... [INFO] [stdout] 296 | >::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `Option: ReprC` [INFO] [stdout] `test_niche::MyBool: __HasNiche__` [INFO] [stdout] which is required by `Option: ReprC` [INFO] [stdout] `Option: ReprC` [INFO] [stdout] which is required by `&Option: ReprC` [INFO] [stdout] `Option: ReprC` [INFO] [stdout] which is required by `&mut Option: ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `is_valid` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/layout_macros.rs:302:27 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: ReprC` [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: __HasNiche__` [INFO] [stdout] ... [INFO] [stdout] 302 | >::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `Option: ReprC` [INFO] [stdout] `test_niche::MyBool: __HasNiche__` [INFO] [stdout] which is required by `Option: ReprC` [INFO] [stdout] `Option: ReprC` [INFO] [stdout] which is required by `&Option: ReprC` [INFO] [stdout] `Option: ReprC` [INFO] [stdout] which is required by `&mut Option: ReprC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `is_valid` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/layout_macros.rs:308:27 [INFO] [stdout] | [INFO] [stdout] 272 | enum MyBool { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: ReprC` [INFO] [stdout] | doesn't satisfy `test_niche::MyBool: __HasNiche__` [INFO] [stdout] ... [INFO] [stdout] 308 | >::is_valid(& [INFO] [stdout] | ^^^^^^^^ variant or associated item cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_niche::MyBool: ReprC` [INFO] [stdout] which is required by `Option: ReprC` [INFO] [stdout] `test_niche::MyBool: __HasNiche__` [INFO] [stdout] which is required by `Option: ReprC` [INFO] [stdout] `Option: ReprC` [INFO] [stdout] which is required by `&Option: ReprC` [INFO] [stdout] `Option: ReprC` [INFO] [stdout] which is required by `&mut Option: 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` due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "57eb4050e50b0e67c1c62582451960943791884f2a08b584d6cf64417fb404cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57eb4050e50b0e67c1c62582451960943791884f2a08b584d6cf64417fb404cd", kill_on_drop: false }` [INFO] [stdout] 57eb4050e50b0e67c1c62582451960943791884f2a08b584d6cf64417fb404cd