[INFO] cloning repository https://github.com/scottnm/rust_ffi_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scottnm/rust_ffi_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottnm%2Frust_ffi_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottnm%2Frust_ffi_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db530f7b27ccf17dce8c23cc700d3e9b756b2f55 [INFO] testing scottnm/rust_ffi_demo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottnm%2Frust_ffi_demo" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scottnm/rust_ffi_demo on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scottnm/rust_ffi_demo [INFO] finished tweaking git repo https://github.com/scottnm/rust_ffi_demo [INFO] tweaked toml for git repo https://github.com/scottnm/rust_ffi_demo written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/scottnm/rust_ffi_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ff4f234eec39acd84885339bf6446830978c52ffacd4c6fa2f1ecaedc0734b0 [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" "7ff4f234eec39acd84885339bf6446830978c52ffacd4c6fa2f1ecaedc0734b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ff4f234eec39acd84885339bf6446830978c52ffacd4c6fa2f1ecaedc0734b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff4f234eec39acd84885339bf6446830978c52ffacd4c6fa2f1ecaedc0734b0", kill_on_drop: false }` [INFO] [stdout] 7ff4f234eec39acd84885339bf6446830978c52ffacd4c6fa2f1ecaedc0734b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 155526bd919c24e3eb3151b8b75352c68b00d70da37ec7cc376146d20700e128 [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" "155526bd919c24e3eb3151b8b75352c68b00d70da37ec7cc376146d20700e128", kill_on_drop: false }` [INFO] [stderr] Compiling rust_ffi_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `FFI_DL_ChangedEvent` should have an upper camel case name [INFO] [stdout] --> src/demo_lib.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct FFI_DL_ChangedEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FfiDlChangedEvent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FFI_DL_EventList` should have an upper camel case name [INFO] [stdout] --> src/demo_lib.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | type FFI_DL_EventList = *const *const FFI_DL_Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FfiDlEventList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Created` [INFO] [stdout] --> src/demo_lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Created, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FFI_DL_EventType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo_lib.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [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: variant is never constructed: `Destroyed` [INFO] [stdout] --> src/demo_lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Destroyed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FFI_DL_EventType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo_lib.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [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: variant is never constructed: `Changed` [INFO] [stdout] --> src/demo_lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Changed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FFI_DL_EventType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo_lib.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [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: variant is never constructed: `A` [INFO] [stdout] --> src/demo_lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `FFI_ChangedState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo_lib.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Clone, Copy)] [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: variant is never constructed: `B` [INFO] [stdout] --> src/demo_lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | B, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `FFI_ChangedState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo_lib.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Clone, Copy)] [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: `baseEvent` [INFO] [stdout] --> src/demo_lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub baseEvent: FFI_DL_Event, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseEvent` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub baseEvent: FFI_DL_Event, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `creationString` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub creationString: *const c_char, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseEvent` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub baseEvent: FFI_DL_Event, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `destroyedByte` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub destroyedByte: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroyed_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseEvent` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub baseEvent: FFI_DL_Event, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `changedState` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub changedState: FFI_ChangedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `changed_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `creationString` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | CreatedEvent { creationString: CString }, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `destroyedByte` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | DestroyedEvent { destroyedByte: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroyed_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `changedState` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | ChangedEvent { changedState: ChangedState }, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `changed_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `creationCStr` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | let creationCStr = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_cstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `creationString` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | let creationString = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `destroyedByte` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | let destroyedByte = [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroyed_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `changedState` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | let changedState = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `changed_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `creationString` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn handle_created_event(creationString: &CStr) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `destroyedByte` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn handle_destroyed_event(destroyedByte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroyed_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `changedState` should have a snake case name [INFO] [stdout] --> src/demo_lib.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn handle_changed_event(changedState: ChangedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `changed_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.rust_ffi_demo.856b764e-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5.19yw74lff3hmioo9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" ".\\target" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-ldemo_lib_static" "-Wl,--no-whole-archive" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_ffi_demo-6d8fe860b7702ce5" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -ldemo_lib_static [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ffi_demo` due to 2 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "155526bd919c24e3eb3151b8b75352c68b00d70da37ec7cc376146d20700e128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "155526bd919c24e3eb3151b8b75352c68b00d70da37ec7cc376146d20700e128", kill_on_drop: false }` [INFO] [stdout] 155526bd919c24e3eb3151b8b75352c68b00d70da37ec7cc376146d20700e128