[INFO] fetching crate safer-ffi 0.0.7... [INFO] testing safer-ffi-0.0.7 against 1.60.0 for beta-1.61-1 [INFO] extracting crate safer-ffi 0.0.7 into /workspace/builds/worker-37/source [INFO] validating manifest of crates.io crate safer-ffi 0.0.7 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-37/source/.cargo/config [INFO] removed /workspace/builds/worker-37/source/rust-toolchain [INFO] started tweaking crates.io crate safer-ffi 0.0.7 [INFO] finished tweaking crates.io crate safer-ffi 0.0.7 [INFO] tweaked toml for crates.io crate safer-ffi 0.0.7 written to /workspace/builds/worker-37/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] [stderr] Downloaded mini_paste v0.1.11 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.0.1 [INFO] [stderr] Downloaded macro_rules_attribute v0.0.1 [INFO] [stderr] Downloaded mini_paste-proc_macro v0.1.11 [INFO] [stderr] Downloaded require_unsafe_in_body v0.2.1 [INFO] [stderr] Downloaded safer_ffi-proc_macro v0.0.7 [INFO] [stderr] Downloaded uninit v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d6f2f0a5f393da04cdb6c7bca577087a988eadff6ee5a4a6b7f35c69159356d [INFO] running `Command { std: "docker" "start" "-a" "0d6f2f0a5f393da04cdb6c7bca577087a988eadff6ee5a4a6b7f35c69159356d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d6f2f0a5f393da04cdb6c7bca577087a988eadff6ee5a4a6b7f35c69159356d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d6f2f0a5f393da04cdb6c7bca577087a988eadff6ee5a4a6b7f35c69159356d", kill_on_drop: false }` [INFO] [stdout] 0d6f2f0a5f393da04cdb6c7bca577087a988eadff6ee5a4a6b7f35c69159356d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02b1cfda5aca8b2e2691019ea526517d54e83efcb42edfa17c3e31545f837319 [INFO] running `Command { std: "docker" "start" "-a" "02b1cfda5aca8b2e2691019ea526517d54e83efcb42edfa17c3e31545f837319", kill_on_drop: false }` [INFO] [stderr] Compiling mini_paste-proc_macro v0.1.11 [INFO] [stderr] Compiling safer_ffi-proc_macro v0.0.7 [INFO] [stderr] Compiling mini_paste v0.1.11 [INFO] [stderr] Compiling safer-ffi v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 51s [INFO] running `Command { std: "docker" "inspect" "02b1cfda5aca8b2e2691019ea526517d54e83efcb42edfa17c3e31545f837319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02b1cfda5aca8b2e2691019ea526517d54e83efcb42edfa17c3e31545f837319", kill_on_drop: false }` [INFO] [stdout] 02b1cfda5aca8b2e2691019ea526517d54e83efcb42edfa17c3e31545f837319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4170253d5f770ed60a08c657cd0715cfa92827caa49cc3c65bdedd17cc5ecafd [INFO] running `Command { std: "docker" "start" "-a" "4170253d5f770ed60a08c657cd0715cfa92827caa49cc3c65bdedd17cc5ecafd", 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.7 (/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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `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] note: the following traits must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/layout/niche.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub [INFO] [stdout] 5 | | unsafe [INFO] [stdout] 6 | | trait HasNiche : ReprC { [INFO] [stdout] 7 | | fn is_niche (it: &'_ ::CLayout) [INFO] [stdout] 8 | | -> bool [INFO] [stdout] 9 | | ; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [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] note: the following traits must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/layout/niche.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub [INFO] [stdout] 5 | | unsafe [INFO] [stdout] 6 | | trait HasNiche : ReprC { [INFO] [stdout] 7 | | fn is_niche (it: &'_ ::CLayout) [INFO] [stdout] 8 | | -> bool [INFO] [stdout] 9 | | ; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [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] note: the following traits must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/layout/_mod.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub [INFO] [stdout] 604 | | unsafe [INFO] [stdout] 605 | | trait ReprC : Sized { [INFO] [stdout] 606 | | /// The `CType` having the same layout as `Self`. [INFO] [stdout] ... | [INFO] [stdout] 670 | | ; [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/layout/niche.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub [INFO] [stdout] 5 | | unsafe [INFO] [stdout] 6 | | trait HasNiche : ReprC { [INFO] [stdout] 7 | | fn is_niche (it: &'_ ::CLayout) [INFO] [stdout] 8 | | -> bool [INFO] [stdout] 9 | | ; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [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" "4170253d5f770ed60a08c657cd0715cfa92827caa49cc3c65bdedd17cc5ecafd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4170253d5f770ed60a08c657cd0715cfa92827caa49cc3c65bdedd17cc5ecafd", kill_on_drop: false }` [INFO] [stdout] 4170253d5f770ed60a08c657cd0715cfa92827caa49cc3c65bdedd17cc5ecafd