[INFO] cloning repository https://github.com/Farooq-azam-khan/rust_db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Farooq-azam-khan/rust_db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarooq-azam-khan%2Frust_db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarooq-azam-khan%2Frust_db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] caf9f10bb910673db52f91ee609e8d9ce9e722b7 [INFO] building Farooq-azam-khan/rust_db against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarooq-azam-khan%2Frust_db" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Farooq-azam-khan/rust_db [INFO] finished tweaking git repo https://github.com/Farooq-azam-khan/rust_db [INFO] tweaked toml for git repo https://github.com/Farooq-azam-khan/rust_db written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Farooq-azam-khan/rust_db on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Farooq-azam-khan/rust_db 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b24bc37cb64b3f3687bb2010430f3efedca3046f4f34b917a2ecc0368fc10a0 [INFO] running `Command { std: "docker" "start" "-a" "5b24bc37cb64b3f3687bb2010430f3efedca3046f4f34b917a2ecc0368fc10a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b24bc37cb64b3f3687bb2010430f3efedca3046f4f34b917a2ecc0368fc10a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b24bc37cb64b3f3687bb2010430f3efedca3046f4f34b917a2ecc0368fc10a0", kill_on_drop: false }` [INFO] [stdout] 5b24bc37cb64b3f3687bb2010430f3efedca3046f4f34b917a2ecc0368fc10a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 2e99b404bc011358f6bfadbda1158306a77f5ec3f4f3210c84aaab0f856c0d87 [INFO] running `Command { std: "docker" "start" "-a" "2e99b404bc011358f6bfadbda1158306a77f5ec3f4f3210c84aaab0f856c0d87", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling libsqlite3-sys v0.23.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rusqlite v0.26.0 [INFO] [stderr] Compiling rust_db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Person { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | get_all_person(&conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = get_all_person(&conn); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | insert_person(&conn, Person {id: 0, name: "Farooq".to_string(), data: None}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = insert_person(&conn, Person {id: 0, name: "Farooq".to_string(), data: None}); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | get_all_person(&conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = get_all_person(&conn); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librusqlite-866872de43f85803,libbitflags-15e3d67e03629ffa,libsmallvec-b2a38fd929b44f15,libfallible_streaming_iterator-4db7add6bd66d620,libfallible_iterator-6fa9759191911027,libhashlink-4fb09a4465efb80b,libhashbrown-924e69526b2ac8f6,libahash-4b257116cfa5474c,libgetrandom-0d989f80fd675cb6,libwasi-4ea4ad5c0c21a1a2,libcfg_if-50b02a9e3502ecf2,libonce_cell-4af22690cc657085,liblibsqlite3_sys-2659fe45f6652921}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/libsqlite3-sys-51dbdd50fe8f8c6d/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-2659fe45f6652921.rlib: archive member 'sqlite3.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_bind_null [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_bind_int64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_bind_double [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_bind_text [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_bind_zeroblob [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_bind_blob [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_bind_parameter_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_column_name [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_column_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_step [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_reset [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_db-171b2c2f5a862cc1.rust_db.69eb6f0eab5aa2f-cgu.0.rcgu.o: undefined symbol: sqlite3_changes [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-866872de43f85803.rlib(rusqlite-866872de43f85803.rusqlite.ff883cc493942e80-cgu.2.rcgu.o): undefined symbol: sqlite3_open_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-866872de43f85803.rlib(rusqlite-866872de43f85803.rusqlite.ff883cc493942e80-cgu.2.rcgu.o): undefined symbol: sqlite3_extended_result_codes [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-866872de43f85803.rlib(rusqlite-866872de43f85803.rusqlite.ff883cc493942e80-cgu.2.rcgu.o): undefined symbol: sqlite3_busy_timeout [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-866872de43f85803.rlib(rusqlite-866872de43f85803.rusqlite.ff883cc493942e80-cgu.2.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-866872de43f85803.rlib(rusqlite-866872de43f85803.rusqlite.ff883cc493942e80-cgu.2.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-866872de43f85803.rlib(rusqlite-866872de43f85803.rusqlite.ff883cc493942e80-cgu.2.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-866872de43f85803.rlib(rusqlite-866872de43f85803.rusqlite.ff883cc493942e80-cgu.2.rcgu.o): undefined symbol: sqlite3_prepare_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-866872de43f85803.rlib(rusqlite-866872de43f85803.rusqlite.ff883cc493942e80-cgu.5.rcgu.o): undefined symbol: sqlite3_column_type [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_db` (bin "rust_db") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e99b404bc011358f6bfadbda1158306a77f5ec3f4f3210c84aaab0f856c0d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e99b404bc011358f6bfadbda1158306a77f5ec3f4f3210c84aaab0f856c0d87", kill_on_drop: false }` [INFO] [stdout] 2e99b404bc011358f6bfadbda1158306a77f5ec3f4f3210c84aaab0f856c0d87