[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] testing Heasn/Sharing against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Heasn/Sharing on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "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-9/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: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c40c97d56c9becc2b47e9e09726a992ff22922fd15d9aad3e727d125fcdeb580
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c40c97d56c9becc2b47e9e09726a992ff22922fd15d9aad3e727d125fcdeb580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c40c97d56c9becc2b47e9e09726a992ff22922fd15d9aad3e727d125fcdeb580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c40c97d56c9becc2b47e9e09726a992ff22922fd15d9aad3e727d125fcdeb580", kill_on_drop: false }`
[INFO] [stdout] c40c97d56c9becc2b47e9e09726a992ff22922fd15d9aad3e727d125fcdeb580
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7da014eb12d7b2310853b89e12390486408b98fd4ebe938ab3f6bcb606256f64
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7da014eb12d7b2310853b89e12390486408b98fd4ebe938ab3f6bcb606256f64", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]    Compiling crossbeam-queue v0.3.2
[INFO] [stderr]    Compiling clang-sys v1.3.0
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling which v4.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling crossbeam v0.8.1
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.132
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tokio v1.15.0
[INFO] [stderr]    Compiling serde v1.0.132
[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 is never read: `runtime_library_paths`
[INFO] [stdout]   --> build.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     runtime_library_paths: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `SwiftPaths` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> build.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `paths`
[INFO] [stdout]   --> build.rs:30:5
[INFO] [stdout]    |
[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]   --> build.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Sharing` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `sharing`
[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]    = note: `#[warn(improper_ctypes)]` on by default
[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] 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: "cc" "-m64" "/tmp/rustc789HOL/symbols.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995.pdcrgyl3jlswsu7.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcrossbeam-8dbef479862f3d45.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-8d506549478a9e15.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-8250dc01c2cac834.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-8b96bfc9ede68b93.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-7a13ed501daaaf56.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-da91dbb2655bf0e9.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-f8bcee6c9b78fc73.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e24fcf15b5cab9c8.rlib" "/opt/rustwide/target/debug/deps/libtokio-a88fb6c35a58a660.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook_registry-fdb3d77b1fc5ccc1.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-c1378b253ea4f92c.rlib" "/opt/rustwide/target/debug/deps/libmemchr-e836331405fd16ba.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-80c4597087b23259.rlib" "/opt/rustwide/target/debug/deps/libbytes-706395179f7ccc91.rlib" "/opt/rustwide/target/debug/deps/libmio-be630ddc70d81b92.rlib" "/opt/rustwide/target/debug/deps/liblog-53e89c182a6de5d2.rlib" "/opt/rustwide/target/debug/deps/libpin_project_lite-465e7a8669473e30.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-b4aa16da3b1df253.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-0ce2747e1e373ac0.rlib" "/opt/rustwide/target/debug/deps/liblibc-7baf8174ff8c1932.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-65958d04c65029c8.rlib" "/opt/rustwide/target/debug/deps/liblock_api-01efae7a87b03d46.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-a8751fe16e8ac7c3.rlib" "/opt/rustwide/target/debug/deps/libinstant-40b4b8b7d41cac3a.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-904ac7e0155b8ce8.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7ca39ac42651c3df.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-62c6d032818141a1.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-50484fc03eb1eb5b.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-758be083b246d9c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3cdf9a3c68f76e2d.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-3a1b74821c25a0e1.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e046d82ebd84bb7f.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a61cdd33cfa8394f.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-410c38f8df854235.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f79d7458e122215f.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-7d24b750ce5b22e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-4c2aa1ea3133ab73.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-41220dc85a7f114f.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-230d004276c898f9.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-03ae30169a5438be.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6f82c44b7818af35.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-1a0b7681f7efa789.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-83735dd4dae9b02c.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-385029872275478f.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/Sharing-42f481c097650995" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/Sharing-42f481c097650995.Sharing.687234cf-cgu.13.rcgu.o: in function `Sharing::main::{{closure}}::{{closure}}':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:20: undefined reference to `SharingCoreInit'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:36: undefined reference to `SharingCoreBeginScreenCapture'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:55: undefined reference to `SharingCoreStopScreenCapture'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:56: undefined reference to `SharingCoreDeallocate'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Sharing` due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7da014eb12d7b2310853b89e12390486408b98fd4ebe938ab3f6bcb606256f64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7da014eb12d7b2310853b89e12390486408b98fd4ebe938ab3f6bcb606256f64", kill_on_drop: false }`
[INFO] [stdout] 7da014eb12d7b2310853b89e12390486408b98fd4ebe938ab3f6bcb606256f64
