[INFO] cloning repository https://github.com/jgao222/rs-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgao222/rs-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgao222%2Frs-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgao222%2Frs-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e3eea4408fbecddccd314af0f07574d28f488ed [INFO] testing jgao222/rs-rs against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgao222%2Frs-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jgao222/rs-rs on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jgao222/rs-rs [INFO] finished tweaking git repo https://github.com/jgao222/rs-rs [INFO] tweaked toml for git repo https://github.com/jgao222/rs-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jgao222/rs-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tray-item v0.8.0 [INFO] [stderr] Downloaded find-winsdk v0.2.0 [INFO] [stderr] Downloaded windres v0.2.2 [INFO] [stderr] Downloaded padlock v0.2.0 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56d52e39f27aeb68893b0f1b430ceb646c82fca46cd9d59129c6bc353e4d4a8c [INFO] running `Command { std: "docker" "start" "-a" "56d52e39f27aeb68893b0f1b430ceb646c82fca46cd9d59129c6bc353e4d4a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56d52e39f27aeb68893b0f1b430ceb646c82fca46cd9d59129c6bc353e4d4a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d52e39f27aeb68893b0f1b430ceb646c82fca46cd9d59129c6bc353e4d4a8c", kill_on_drop: false }` [INFO] [stdout] 56d52e39f27aeb68893b0f1b430ceb646c82fca46cd9d59129c6bc353e4d4a8c [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbbc86dda646a067b6d458452b0cbe21db7346b42ff847fe99d008062c14234c [INFO] running `Command { std: "docker" "start" "-a" "fbbc86dda646a067b6d458452b0cbe21db7346b42ff847fe99d008062c14234c", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling windres v0.2.2 [INFO] [stderr] Compiling tray-item v0.8.0 [INFO] [stderr] Compiling rs-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `TrayItemImpl` in `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/lib.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Self(api::TrayItemImpl::new(title, icon)?)) [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TrayItemImpl` in `api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type TrayItemImpl = linux_ksni::TrayItemLinux; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(target_os = "linux", feature = "ksni"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type TrayItemImpl = linux_libappindicator::TrayItemLinux; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(all(target_os = "linux", feature = "libappindicator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type TrayItemImpl = windows::TrayItemWindows; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub type TrayItemImpl = macos::TrayItemMacOS; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrayItemImpl` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/lib.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TrayItem(api::TrayItemImpl); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type TrayItemImpl = linux_ksni::TrayItemLinux; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(target_os = "linux", feature = "ksni"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type TrayItemImpl = linux_libappindicator::TrayItemLinux; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(all(target_os = "linux", feature = "libappindicator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type TrayItemImpl = windows::TrayItemWindows; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub type TrayItemImpl = macos::TrayItemMacOS; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrayItemImpl` in module `api` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/lib.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn inner_mut(&mut self) -> &mut api::TrayItemImpl { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type TrayItemImpl = linux_ksni::TrayItemLinux; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(target_os = "linux", feature = "ksni"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type TrayItemImpl = linux_libappindicator::TrayItemLinux; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(all(target_os = "linux", feature = "libappindicator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type TrayItemImpl = windows::TrayItemWindows; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub type TrayItemImpl = macos::TrayItemMacOS; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tray-item-0.8.0/src/api/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windres::Build` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windres::Build; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Build` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-rs` (build script) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tray-item` (lib) due to 3 previous errors [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcONgHoz/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/build/windows_x86_64_gnu-42420b1100a1b296/build_script_build-42420b1100a1b296" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windows_x86_64_gnu` (build script) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "fbbc86dda646a067b6d458452b0cbe21db7346b42ff847fe99d008062c14234c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbbc86dda646a067b6d458452b0cbe21db7346b42ff847fe99d008062c14234c", kill_on_drop: false }` [INFO] [stdout] fbbc86dda646a067b6d458452b0cbe21db7346b42ff847fe99d008062c14234c