[INFO] fetching crate safer-ffi 0.0.10... [INFO] testing safer-ffi-0.0.10 against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate safer-ffi 0.0.10 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate safer-ffi 0.0.10 on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate safer-ffi 0.0.10 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate safer-ffi 0.0.10 [INFO] tweaked toml for crates.io crate safer-ffi 0.0.10 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mini_paste v0.1.11 [INFO] [stderr] Downloaded uninit v0.3.0 [INFO] [stderr] Downloaded safer_ffi-proc_macro v0.0.10 [INFO] [stderr] Downloaded require_unsafe_in_body v0.2.1 [INFO] [stderr] Downloaded macro_rules_attribute v0.0.1 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 410d7e55e240fc3b9711bb9eff2dcd26fbd0123696d9d73261329ee1ca64b478 [INFO] running `Command { std: "docker" "start" "-a" "410d7e55e240fc3b9711bb9eff2dcd26fbd0123696d9d73261329ee1ca64b478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "410d7e55e240fc3b9711bb9eff2dcd26fbd0123696d9d73261329ee1ca64b478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410d7e55e240fc3b9711bb9eff2dcd26fbd0123696d9d73261329ee1ca64b478", kill_on_drop: false }` [INFO] [stdout] 410d7e55e240fc3b9711bb9eff2dcd26fbd0123696d9d73261329ee1ca64b478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba86d524821570bd14fda82b8c944af95024b0d4d3d42ac77b057c572d184604 [INFO] running `Command { std: "docker" "start" "-a" "ba86d524821570bd14fda82b8c944af95024b0d4d3d42ac77b057c572d184604", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling mini_paste-proc_macro v0.1.11 [INFO] [stderr] Compiling safer_ffi-proc_macro v0.0.10 [INFO] [stderr] Compiling mini_paste v0.1.11 [INFO] [stderr] Compiling safer-ffi v0.0.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.90s [INFO] running `Command { std: "docker" "inspect" "ba86d524821570bd14fda82b8c944af95024b0d4d3d42ac77b057c572d184604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba86d524821570bd14fda82b8c944af95024b0d4d3d42ac77b057c572d184604", kill_on_drop: false }` [INFO] [stdout] ba86d524821570bd14fda82b8c944af95024b0d4d3d42ac77b057c572d184604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c28fcbdda1590cfcb5c39defeecc2a75ca2dcedb1409be0cff1aa7a226a2a8e4 [INFO] running `Command { std: "docker" "start" "-a" "c28fcbdda1590cfcb5c39defeecc2a75ca2dcedb1409be0cff1aa7a226a2a8e4", 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.10 (/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[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] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______________function or associated item `is_valid` not found for this struct [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 trait `ReprC` 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] | |___________________^ [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] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______________function or associated item `is_valid` not found for this struct [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 trait `ReprC` 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] | |___________________^ [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] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______________function or associated item `is_valid` not found for this struct [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 trait `ReprC` 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] | |___________________^ [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] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______________function or associated item `is_valid` not found for this struct [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 trait `ReprC` 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] | |___________________^ [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] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______________function or associated item `is_valid` not found for this struct [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 trait `ReprC` 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] | |___________________^ [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 `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 for this enum [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 `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 trait `ReprC` 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] | |___________________^ [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[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[E0599]: the variant or associated item `is_valid` exists for enum `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 for this enum [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 `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 trait `ReprC` 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] | |___________________^ [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[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[E0599]: the variant or associated item `is_valid` exists for enum `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 for this enum [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 `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 trait `ReprC` 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] | |___________________^ [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[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[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] --> /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/option.rs:562:1 [INFO] [stdout] | [INFO] [stdout] = note: doesn't satisfy `Option: ReprC` [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 traits `ReprC` and `__HasNiche__` 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] | |___________________^ [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] | |______________________^ [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[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] --> /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/option.rs:562:1 [INFO] [stdout] | [INFO] [stdout] = note: doesn't satisfy `Option: ReprC` [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 traits `ReprC` and `__HasNiche__` 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] | |___________________^ [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] | |______________________^ [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[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] --> /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/option.rs:562:1 [INFO] [stdout] | [INFO] [stdout] = note: doesn't satisfy `Option: ReprC` [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 traits `ReprC` and `__HasNiche__` 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] | |___________________^ [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] | |______________________^ [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: 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] running `Command { std: "docker" "inspect" "c28fcbdda1590cfcb5c39defeecc2a75ca2dcedb1409be0cff1aa7a226a2a8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28fcbdda1590cfcb5c39defeecc2a75ca2dcedb1409be0cff1aa7a226a2a8e4", kill_on_drop: false }` [INFO] [stdout] c28fcbdda1590cfcb5c39defeecc2a75ca2dcedb1409be0cff1aa7a226a2a8e4