[INFO] fetching crate jimage 0.2.3... [INFO] testing jimage-0.2.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate jimage 0.2.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate jimage 0.2.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jimage 0.2.3 [INFO] finished tweaking crates.io crate jimage 0.2.3 [INFO] tweaked toml for crates.io crate jimage 0.2.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f277dca9c013bcf2adf8a70db60ea9dd617f6be3e22daa81aaaff71906305a52 [INFO] running `Command { std: "docker" "start" "-a" "f277dca9c013bcf2adf8a70db60ea9dd617f6be3e22daa81aaaff71906305a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f277dca9c013bcf2adf8a70db60ea9dd617f6be3e22daa81aaaff71906305a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f277dca9c013bcf2adf8a70db60ea9dd617f6be3e22daa81aaaff71906305a52", kill_on_drop: false }` [INFO] [stdout] f277dca9c013bcf2adf8a70db60ea9dd617f6be3e22daa81aaaff71906305a52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc4ba484f2cc45a34337bfbee7d5ff32277c90d406589de8001211f8294b0283 [INFO] running `Command { std: "docker" "start" "-a" "fc4ba484f2cc45a34337bfbee7d5ff32277c90d406589de8001211f8294b0283", kill_on_drop: false }` [INFO] [stderr] Compiling minidl v0.1.4 [INFO] [stderr] Compiling jimage-sys v0.1.0 [INFO] [stderr] Compiling jimage v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/lib.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | let mut path = path.bytes().map(|b| b as c_char).collect::>(); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/lib.rs:68:72 [INFO] [stdout] | [INFO] [stdout] 68 | let mut path = path.bytes().map(|b| b as c_char).collect::>(); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/lib.rs:119:124 [INFO] [stdout] | [INFO] [stdout] 119 | ...sult>(_image: *mut sys::JImageFile, module_name: *const c_char, version: *const c_char, package: *const c_char, name: *const c_char, e... [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/lib.rs:119:148 [INFO] [stdout] | [INFO] [stdout] 119 | ...JImageFile, module_name: *const c_char, version: *const c_char, package: *const c_char, name: *const c_char, extension: *const c_char,... [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/lib.rs:119:172 [INFO] [stdout] | [INFO] [stdout] 119 | ... *const c_char, version: *const c_char, package: *const c_char, name: *const c_char, extension: *const c_char, arg: *mut c_void) -> bo... [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/lib.rs:119:193 [INFO] [stdout] | [INFO] [stdout] 119 | ...on: *const c_char, package: *const c_char, name: *const c_char, extension: *const c_char, arg: *mut c_void) -> bool { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/lib.rs:119:219 [INFO] [stdout] | [INFO] [stdout] 119 | ...: *const c_char, name: *const c_char, extension: *const c_char, arg: *mut c_void) -> bool { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_void` is ambiguous [INFO] [stdout] --> src/lib.rs:119:237 [INFO] [stdout] | [INFO] [stdout] 119 | ...ame: *const c_char, extension: *const c_char, arg: *mut c_void) -> bool { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_void` could refer to the enum imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_void` to disambiguate [INFO] [stdout] note: `c_void` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_void` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_void` is ambiguous [INFO] [stdout] --> src/lib.rs:135:93 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe { (self.api.JIMAGE_ResourceIterator)(*self.file, visit::, context as *mut c_void) }; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_void` could refer to the enum imported here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_void` to disambiguate [INFO] [stdout] note: `c_void` could also refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_void` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::*` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_ffi_c' [INFO] [stdout] --> src/lib.rs:119:124 [INFO] [stdout] | [INFO] [stdout] 119 | ... unsafe extern "C" fn visit VisitResult>(_image: *mut sys::JImageFile, module_name: *const c_char, version:... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #94501 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_ffi_c' [INFO] [stdout] --> src/lib.rs:119:148 [INFO] [stdout] | [INFO] [stdout] 119 | ...ut sys::JImageFile, module_name: *const c_char, version: *const c_char, package: *const c_char, name: *const c_char, extension: *const... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #94501 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_ffi_c' [INFO] [stdout] --> src/lib.rs:119:172 [INFO] [stdout] | [INFO] [stdout] 119 | ...le_name: *const c_char, version: *const c_char, package: *const c_char, name: *const c_char, extension: *const c_char, arg: *mut c_voi... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #94501 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_ffi_c' [INFO] [stdout] --> src/lib.rs:119:193 [INFO] [stdout] | [INFO] [stdout] 119 | ...r, version: *const c_char, package: *const c_char, name: *const c_char, extension: *const c_char, arg: *mut c_void) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #94501 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_ffi_c' [INFO] [stdout] --> src/lib.rs:119:219 [INFO] [stdout] | [INFO] [stdout] 119 | ... package: *const c_char, name: *const c_char, extension: *const c_char, arg: *mut c_void) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #94501 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_ffi_c' [INFO] [stdout] --> src/lib.rs:68:72 [INFO] [stdout] | [INFO] [stdout] 68 | let mut path = path.bytes().map(|b| b as c_char).collect::>(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #94501 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_ffi_c' [INFO] [stdout] --> src/lib.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | let mut path = path.bytes().map(|b| b as c_char).collect::>(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #94501 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0658, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jimage` due to 17 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fc4ba484f2cc45a34337bfbee7d5ff32277c90d406589de8001211f8294b0283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4ba484f2cc45a34337bfbee7d5ff32277c90d406589de8001211f8294b0283", kill_on_drop: false }` [INFO] [stdout] fc4ba484f2cc45a34337bfbee7d5ff32277c90d406589de8001211f8294b0283