[INFO] cloning repository https://github.com/iwanbk/testwinmycel
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwanbk/testwinmycel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwanbk%2Ftestwinmycel", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwanbk%2Ftestwinmycel'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e81403e6c12567ef71f7b6cdae60bb8e871882d
[INFO] testing iwanbk/testwinmycel against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwanbk%2Ftestwinmycel" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iwanbk/testwinmycel
[INFO] finished tweaking git repo https://github.com/iwanbk/testwinmycel
[INFO] tweaked toml for git repo https://github.com/iwanbk/testwinmycel written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iwanbk/testwinmycel on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iwanbk/testwinmycel 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09
[INFO] running `Command { std: "docker" "start" "a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: the package `winmycelium` provides no linkable target
[INFO] [stderr]   |
[INFO] [stderr]   = note: this might cause `testwinmycel` to fail compilation
[INFO] [stderr]   = note: this warning might turn into a hard error in the future
[INFO] [stderr]   = help: consider adding 'dylib' or 'rlib' to key 'crate-type' in `winmycelium`'s Cargo.toml
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling cc v1.1.18
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling anyhow v1.0.87
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling rustls-pki-types v1.8.0
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling rustls v0.23.13
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling rustc-hash v2.0.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling arrayref v0.3.8
[INFO] [stderr]    Compiling etherparse v0.15.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling left-right v0.11.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling ipnet v2.10.0
[INFO] [stderr]    Compiling pem v3.0.4
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling ip_network_table-deps-treebitmap v0.5.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling blake3 v1.5.4
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling netdev v0.30.0
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling quinn-udp v0.5.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling netlink-packet-utils v0.5.2
[INFO] [stderr]    Compiling x25519-dalek v2.0.1
[INFO] [stderr]    Compiling netlink-packet-core v0.7.0
[INFO] [stderr]    Compiling netlink-packet-route v0.19.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tracing-logfmt v0.3.5
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling faster-hex v0.9.0
[INFO] [stderr]    Compiling netlink-sys v0.8.6
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-tun v0.11.5
[INFO] [stderr]    Compiling netlink-proto v0.11.3
[INFO] [stderr]    Compiling rtnetlink v0.14.1
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling rcgen v0.13.1
[INFO] [stderr]    Compiling quinn-proto v0.11.8
[INFO] [stderr]    Compiling quinn v0.11.5
[INFO] [stderr]    Compiling mycelium v0.5.4 (https://github.com/threefoldtech/mycelium#21ac2df7)
[INFO] [stderr]    Compiling winmycelium v0.1.0 (https://github.com/iwanbk/winmycelium#adf5f018)
[INFO] [stderr]    Compiling testwinmycel v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` block uses type `Vec<u8>`, which is not FFI-safe
[INFO] [stdout]  --> src/main.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 |     fn generate_secret_key() -> 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 `Vec<String>`, which is not FFI-safe
[INFO] [stdout]  --> src/main.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn start_mycelium(peers: Vec<String>, priv_key: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `Vec<u8>`, which is not FFI-safe
[INFO] [stdout]  --> src/main.rs:4:53
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn start_mycelium(peers: Vec<String>, priv_key: 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] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/release/deps/rustc2Y1tod/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lwinmycelium.dll" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/release/deps/rustc2Y1tod/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/deps/testwinmycel-1cd13d87fa123a1a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lwinmycelium.dll
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `testwinmycel` (bin "testwinmycel") due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09", kill_on_drop: false }`
[INFO] [stdout] a0d16a22e4f0d9a56cd13ba90e5bb6b1d3fc84ad70a06b97fac3ae4bf87a9d09
