[INFO] cloning repository https://github.com/shijuleon/firefox-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shijuleon/firefox-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshijuleon%2Ffirefox-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshijuleon%2Ffirefox-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b42bda66dcb412943e892f1dedbcfdc2fb243a8 [INFO] building shijuleon/firefox-exporter against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshijuleon%2Ffirefox-exporter" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shijuleon/firefox-exporter [INFO] finished tweaking git repo https://github.com/shijuleon/firefox-exporter [INFO] tweaked toml for git repo https://github.com/shijuleon/firefox-exporter written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shijuleon/firefox-exporter 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/shijuleon/firefox-exporter 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ca2af77f9e8477a76fd30c19a00e428dcead2682863caa9a42bd8bc41c5efcd2 [INFO] running `Command { std: "docker" "start" "-a" "ca2af77f9e8477a76fd30c19a00e428dcead2682863caa9a42bd8bc41c5efcd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca2af77f9e8477a76fd30c19a00e428dcead2682863caa9a42bd8bc41c5efcd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca2af77f9e8477a76fd30c19a00e428dcead2682863caa9a42bd8bc41c5efcd2", kill_on_drop: false }` [INFO] [stdout] ca2af77f9e8477a76fd30c19a00e428dcead2682863caa9a42bd8bc41c5efcd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 33f104d1c1f82f05f121f0955aa6ccce7932fb119dc624ead38905a4c9e6d876 [INFO] running `Command { std: "docker" "start" "-a" "33f104d1c1f82f05f121f0955aa6ccce7932fb119dc624ead38905a4c9e6d876", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Compiling structopt v0.3.15 [INFO] [stderr] Compiling rusqlite v0.23.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling firefox-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id` and `visit_type` are never read [INFO] [stdout] --> src/main.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 76 | struct MozHistoryVisits { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 77 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 80 | visit_type: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MozHistoryVisits` 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] 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" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtoml-36803e43e5e25da1,libstructopt-c5f0f66a8e50e8a1,liblazy_static-36da267ce9339a94,libclap-8134b7cdc47232f3,libvec_map-4d1795d7ce776985,libtextwrap-f1ce9f77c0f2c5c6,libunicode_width-2ce7b1bea304ba76,libstrsim-77da817db1277a2f,libatty-3242e974e54baef7,libansi_term-6c0151593fd7624b,libserde_json-11501e97c36ead7d,libryu-1081a85990212fc6,libitoa-aee37f8cc4299a8e,librusqlite-2cdf031bd2a8cad0,libbitflags-05377f64c37263ee,libsmallvec-8db644b99ac1b747,libfallible_streaming_iterator-4db7add6bd66d620,libfallible_iterator-6fa9759191911027,liblru_cache-58762410586083b8,liblinked_hash_map-ab39381929c3d570,liblibsqlite3_sys-3eb08fb233510132,libchrono-9b1659f53d023804,libserde-9a109577858bd724,libnum_integer-25960d48bade9fb4,libnum_traits-b85e28a55ee72e74,libtime-fc28d8c8aa87d391}.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-46e2f18060a52a3d/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/firefox_exporter-1905315784dd4d9d.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-3eb08fb233510132.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/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.7.rcgu.o): undefined symbol: sqlite3_errmsg [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_column_name [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_column_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_column_type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_bind_parameter_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_step [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_reset [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_finalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_open_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_busy_timeout [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_extended_result_codes [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_prepare_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_bind_null [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_bind_int64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_bind_double [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_bind_text [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2cdf031bd2a8cad0.rlib(rusqlite-2cdf031bd2a8cad0.rusqlite.5465ac5434c4d194-cgu.8.rcgu.o): undefined symbol: sqlite3_bind_zeroblob [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 `firefox-exporter` (bin "firefox-exporter") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "33f104d1c1f82f05f121f0955aa6ccce7932fb119dc624ead38905a4c9e6d876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f104d1c1f82f05f121f0955aa6ccce7932fb119dc624ead38905a4c9e6d876", kill_on_drop: false }` [INFO] [stdout] 33f104d1c1f82f05f121f0955aa6ccce7932fb119dc624ead38905a4c9e6d876