[INFO] cloning repository https://github.com/Heasn/Sharing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Heasn/Sharing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b16932ad8e1b4d200b284017a5a4e423a97099d0
[INFO] building Heasn/Sharing against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Heasn/Sharing on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Heasn/Sharing
[INFO] finished tweaking git repo https://github.com/Heasn/Sharing
[INFO] tweaked toml for git repo https://github.com/Heasn/Sharing written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Heasn/Sharing 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5d49b84eba47901b516c44feede2db6e7c3f1fe8f9cbbfa260dff978909aed2d
[INFO] running `Command { std: "docker" "start" "-a" "5d49b84eba47901b516c44feede2db6e7c3f1fe8f9cbbfa260dff978909aed2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d49b84eba47901b516c44feede2db6e7c3f1fe8f9cbbfa260dff978909aed2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d49b84eba47901b516c44feede2db6e7c3f1fe8f9cbbfa260dff978909aed2d", kill_on_drop: false }`
[INFO] [stdout] 5d49b84eba47901b516c44feede2db6e7c3f1fe8f9cbbfa260dff978909aed2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b5db352983ead98e7f5262323698b94ad5e4bc3f08819f353405b6186d9cf6d
[INFO] running `Command { std: "docker" "start" "-a" "2b5db352983ead98e7f5262323698b94ad5e4bc3f08819f353405b6186d9cf6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.132
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling serde v1.0.132
[INFO] [stderr]    Compiling libloading v0.7.2
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling clang-sys v1.3.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.2
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v4.2.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling crossbeam v0.8.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tokio v1.15.0
[INFO] [stderr]    Compiling Sharing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> build.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `runtime_library_paths` is never read
[INFO] [stdout]   --> build.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct SwiftPaths {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 22 |     runtime_library_paths: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SwiftPaths` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `paths` is never read
[INFO] [stdout]   --> build.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct SwiftTarget {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 29 |     // target: SwiftTargetInfo,
[INFO] [stdout] 30 |     paths: SwiftPaths,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SwiftTarget` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `crossbeam::crossbeam_channel::Sender<Vec<u8>>`, which is not FFI-safe
[INFO] [stdout]   --> src/sharing_core.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |         extra: *mut Sender<Vec<u8>>,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `crossbeam::crossbeam_channel::Sender<Vec<u8>>`, which is not FFI-safe
[INFO] [stdout]   --> src/sharing_core.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         cb: extern "C" fn(*mut Sender<Vec<u8>>, *const c_uchar, c_int),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcCme3AD/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libcrossbeam-f8e47b92fd2de93a.rlib,libcrossbeam_channel-10a5fe470b47a7bf.rlib,libcrossbeam_deque-c48daf390ae6a079.rlib,libcrossbeam_queue-1a65871e6c429908.rlib,libcrossbeam_epoch-785b0db7bba71cec.rlib,libmemoffset-6f78cb2c611835bf.rlib,libcrossbeam_utils-fd3575eccd5e45da.rlib,liblazy_static-2bb390fee0230a38.rlib,libtokio-8fe8e9e4abdbea42.rlib,libsignal_hook_registry-15f49b1f534e9e59.rlib,libnum_cpus-71015fdc27b00a26.rlib,libmemchr-f79915562e969c92.rlib,libonce_cell-4cd217228d324d54.rlib,libbytes-8210432e63828fd8.rlib,libmio-e4cf4da97add24ed.rlib,liblog-cb1a50f85f9d3564.rlib,libpin_project_lite-e686f189f307e605.rlib,libparking_lot-d7a40ba15e27c32a.rlib,libparking_lot_core-911b04b39ae39461.rlib,liblibc-94fcd9b0a1434dee.rlib,libsmallvec-647ec04a1585c7a5.rlib,liblock_api-f53ebc2a2625a986.rlib,libscopeguard-43643e546252cd47.rlib,libinstant-4d6645a170db77ef.rlib,libcfg_if-33ef6c02a07f9fec.rlib}" "/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_unwind-00eb06e39850f679.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/Sharing-86b61e41959265b8" "-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: rust-lld: error: undefined symbol: SharingCoreInit
[INFO] [stdout]           >>> referenced by main.rs:20 (src/main.rs:20)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/Sharing-86b61e41959265b8.Sharing.69d085e105f99bed-cgu.7.rcgu.o:(Sharing::main::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h1ef656f22704c4e1)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SharingCoreBeginScreenCapture
[INFO] [stdout]           >>> referenced by main.rs:36 (src/main.rs:36)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/Sharing-86b61e41959265b8.Sharing.69d085e105f99bed-cgu.7.rcgu.o:(Sharing::main::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h1ef656f22704c4e1)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SharingCoreStopScreenCapture
[INFO] [stdout]           >>> referenced by main.rs:55 (src/main.rs:55)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/Sharing-86b61e41959265b8.Sharing.69d085e105f99bed-cgu.7.rcgu.o:(Sharing::main::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h1ef656f22704c4e1)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SharingCoreDeallocate
[INFO] [stdout]           >>> referenced by main.rs:56 (src/main.rs:56)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/Sharing-86b61e41959265b8.Sharing.69d085e105f99bed-cgu.7.rcgu.o:(Sharing::main::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h1ef656f22704c4e1)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Sharing` (bin "Sharing") due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2b5db352983ead98e7f5262323698b94ad5e4bc3f08819f353405b6186d9cf6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b5db352983ead98e7f5262323698b94ad5e4bc3f08819f353405b6186d9cf6d", kill_on_drop: false }`
[INFO] [stdout] 2b5db352983ead98e7f5262323698b94ad5e4bc3f08819f353405b6186d9cf6d
