[INFO] fetching crate safer-ffi 0.1.4... [INFO] checking safer-ffi-0.1.4 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate safer-ffi 0.1.4 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate safer-ffi 0.1.4 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extension-traits v1.0.1 [INFO] [stderr] Downloaded with_builtin_macros v0.0.3 [INFO] [stderr] Downloaded ext-trait-proc_macros v1.0.1 [INFO] [stderr] Downloaded unwind_safe v0.1.0 [INFO] [stderr] Downloaded ext-trait v1.0.1 [INFO] [stderr] Downloaded safer_ffi-proc_macros v0.1.4 [INFO] [stderr] Downloaded with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded ghost v0.1.17 [INFO] [stderr] Downloaded async-compat v0.2.3 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] [stderr] Downloaded inventory v0.3.15 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded uninit v0.5.1 [INFO] [stderr] Downloaded cratesio-placeholder-package v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d72002befd2f861720c2487ff1686e00c9ec14069d61a8d4e94ed8436c9c031d [INFO] running `Command { std: "docker" "start" "-a" "d72002befd2f861720c2487ff1686e00c9ec14069d61a8d4e94ed8436c9c031d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d72002befd2f861720c2487ff1686e00c9ec14069d61a8d4e94ed8436c9c031d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72002befd2f861720c2487ff1686e00c9ec14069d61a8d4e94ed8436c9c031d", kill_on_drop: false }` [INFO] [stdout] d72002befd2f861720c2487ff1686e00c9ec14069d61a8d4e94ed8436c9c031d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 910ff4eb6ce9ff307bb7f6bdbd888fdc23fff80ed16a11cae566242a047192d0 [INFO] running `Command { std: "docker" "start" "-a" "910ff4eb6ce9ff307bb7f6bdbd888fdc23fff80ed16a11cae566242a047192d0", 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] 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "910ff4eb6ce9ff307bb7f6bdbd888fdc23fff80ed16a11cae566242a047192d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "910ff4eb6ce9ff307bb7f6bdbd888fdc23fff80ed16a11cae566242a047192d0", kill_on_drop: false }` [INFO] [stdout] 910ff4eb6ce9ff307bb7f6bdbd888fdc23fff80ed16a11cae566242a047192d0