[INFO] fetching crate safer-ffi 0.1.4... [INFO] checking safer-ffi-0.1.4 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate safer-ffi 0.1.4 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate safer-ffi 0.1.4 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate safer-ffi 0.1.4 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate safer-ffi 0.1.4 [INFO] tweaked toml for crates.io crate safer-ffi 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages [INFO] [stderr] Adding ctor v0.1.26 (latest: v0.2.7) [INFO] [stderr] Adding inventory v0.1.11 (latest: v0.3.15) [INFO] [stderr] Adding macro_rules_attribute v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding macro_rules_attribute-proc_macro v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding prettyplease v0.1.25 (latest: v0.2.17) [INFO] [stderr] Adding safer_ffi-proc_macros v0.1.4 (latest: v0.1.6) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding uninit v0.5.1 (latest: v0.6.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Downloaded ext-trait-proc_macros v1.0.1 [INFO] [stderr] Downloaded extension-traits v1.0.1 [INFO] [stderr] Downloaded unwind_safe v0.1.0 [INFO] [stderr] Downloaded with_builtin_macros v0.0.3 [INFO] [stderr] Downloaded ext-trait v1.0.1 [INFO] [stderr] Downloaded uninit v0.5.1 [INFO] [stderr] Downloaded async-compat v0.2.3 [INFO] [stderr] Downloaded ghost v0.1.17 [INFO] [stderr] Downloaded cratesio-placeholder-package v0.0.3 [INFO] [stderr] Downloaded safer_ffi-proc_macros v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e7bbb7d7601236d5d8b89ed22f3acaf85f3197fc2d2518cb245d9a648eb67df [INFO] running `Command { std: "docker" "start" "-a" "9e7bbb7d7601236d5d8b89ed22f3acaf85f3197fc2d2518cb245d9a648eb67df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e7bbb7d7601236d5d8b89ed22f3acaf85f3197fc2d2518cb245d9a648eb67df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e7bbb7d7601236d5d8b89ed22f3acaf85f3197fc2d2518cb245d9a648eb67df", kill_on_drop: false }` [INFO] [stdout] 9e7bbb7d7601236d5d8b89ed22f3acaf85f3197fc2d2518cb245d9a648eb67df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17b4980cf7542ee59ea2e27c64c22f8f1ee62cd618b8c762d34cab4c5e310865 [INFO] running `Command { std: "docker" "start" "-a" "17b4980cf7542ee59ea2e27c64c22f8f1ee62cd618b8c762d34cab4c5e310865", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling safer-ffi v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking unwind_safe v0.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling ext-trait-proc_macros v1.0.1 [INFO] [stderr] Compiling with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Compiling safer_ffi-proc_macros v0.1.4 [INFO] [stderr] Checking with_builtin_macros v0.0.3 [INFO] [stderr] Checking ext-trait v1.0.1 [INFO] [stderr] Checking extension-traits v1.0.1 [INFO] [stderr] Checking uninit v0.5.1 [INFO] [stdout] warning: the item `c_slice` is imported redundantly [INFO] [stdout] --> src/layout/niche.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::c_slice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/macros.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::prelude::*; [INFO] [stdout] | ------------------------ the item `c_slice` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `c_slice` is imported redundantly [INFO] [stdout] --> src/layout/niche.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::c_slice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/macros.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::prelude::*; [INFO] [stdout] | ------------------------ the item `c_slice` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive_ReprC(dyn, Clone)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FfiFnMut` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FfiFnMut for T { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn call (mut f: VirtualPtr) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FfiFnMut` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn call (mut f: VirtualPtr) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Example` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn _example<'r, T : 'r + Example> (owned: T, r: &'r T, m: &'r mut T) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let owned: VirtualPtr = Box::new(owned).into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Example` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | let owned: VirtualPtr = Box::new(owned).into(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | let r: VirtualPtr = r.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Example` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let r: VirtualPtr = r.into(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | let m: VirtualPtr = m.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Example` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let m: VirtualPtr = m.into(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | fn _cloneable<'r, T : 'r + Cloneable + Clone> (owned: T, r: &'r T) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | let owned: VirtualPtr = Box::new(owned).into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | let owned: VirtualPtr = Box::new(owned).into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let owned2: VirtualPtr = owned.clone(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | let owned2: VirtualPtr = owned.clone(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | let r: VirtualPtr = r.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | let r: VirtualPtr = r.into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let r2: VirtualPtr = r.clone(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | let r2: VirtualPtr = r.clone(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safer-ffi` (test "dyn_traits") due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "17b4980cf7542ee59ea2e27c64c22f8f1ee62cd618b8c762d34cab4c5e310865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b4980cf7542ee59ea2e27c64c22f8f1ee62cd618b8c762d34cab4c5e310865", kill_on_drop: false }` [INFO] [stdout] 17b4980cf7542ee59ea2e27c64c22f8f1ee62cd618b8c762d34cab4c5e310865