[INFO] cloning repository https://github.com/FuzzyLitchi/chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FuzzyLitchi/chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuzzyLitchi%2Fchat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuzzyLitchi%2Fchat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bafeb34173efe3ebb6d06124a5e0bcb77dee8be6 [INFO] building FuzzyLitchi/chat against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuzzyLitchi%2Fchat" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FuzzyLitchi/chat [INFO] finished tweaking git repo https://github.com/FuzzyLitchi/chat [INFO] tweaked toml for git repo https://github.com/FuzzyLitchi/chat written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FuzzyLitchi/chat 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/FuzzyLitchi/chat 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5eb967213d1413b6aecef828b250ec046fb35c94d485a872f20fd258e748557f [INFO] running `Command { std: "docker" "start" "-a" "5eb967213d1413b6aecef828b250ec046fb35c94d485a872f20fd258e748557f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eb967213d1413b6aecef828b250ec046fb35c94d485a872f20fd258e748557f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb967213d1413b6aecef828b250ec046fb35c94d485a872f20fd258e748557f", kill_on_drop: false }` [INFO] [stdout] 5eb967213d1413b6aecef828b250ec046fb35c94d485a872f20fd258e748557f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 96797fd455dee99dce8c0fa53916023fa41a7d9db16f3e1c1e1e265793aa33a0 [INFO] running `Command { std: "docker" "start" "-a" "96797fd455dee99dce8c0fa53916023fa41a7d9db16f3e1c1e1e265793aa33a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling text_io v0.1.8 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling backtrace v0.3.42 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling bcrypt v0.6.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling rusqlite v0.21.0 [INFO] [stderr] Compiling chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `create_database` is never used [INFO] [stdout] --> src/database.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_database(conn: &Connection) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/database.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn register(username: &str, password: &str, conn: &Connection) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `recipient` are never read [INFO] [stdout] --> src/types.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 18 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | pub sender: u32, [INFO] [stdout] 20 | pub recipient: u32, [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" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libchrono-146f430dfef3a5d6,libnum_integer-1e79b6b6d5e78643,libnum_traits-9e3d3902f3e174b1,libtext_io-8ea3f1be505c3301,libbcrypt-3761ffceb0dff06f,libblowfish-d97795a12d26dde0,libopaque_debug-c49481a206caa42f,libbyteorder-019cf26721bf1528,libblock_cipher_trait-35d2d55eb0d1373f,libgeneric_array-6feaa478a670dfad,libtypenum-97af3467da89acf5,liblazy_static-36da267ce9339a94,libbase64-ce6ccaeb2e2de164,librand-a6e303a152f9ad4b,librand_chacha-d72a5a5a6366e2d4,libc2_chacha-d37d081697af83c2,libppv_lite86-3493475e77f61984,librand_core-6cdf6ded3854ef3b,libgetrandom-5e37e26c5bf6ed86,libwasi-203864a9547604ca,librusqlite-2850472683fad2c2,libmemchr-cbfa8e6db4eb473d,libbitflags-05377f64c37263ee,libtime-b34d6b13cfe715b3,libfallible_streaming_iterator-4db7add6bd66d620,libfallible_iterator-6fa9759191911027,liblru_cache-c36b0503919edf05,liblinked_hash_map-4f2806cd99fa9b41,liblibsqlite3_sys-d9d1574ead1bc490,libfailure-7d1f795b6b2837cd,libbacktrace-4f62432259ab3413,libcfg_if-c52cb2c48f08318d,librustc_demangle-4e13fa7fbdd299cc}.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-c207553299bae2e0/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/chat-cd6aacc80d545f69.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-d9d1574ead1bc490.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-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_config [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_initialize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_column_name [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_column_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_column_type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_bind_parameter_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_step [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_reset [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_finalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_open_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_busy_timeout [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_extended_result_codes [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_threadsafe [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_mutex_alloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_mutex_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_changes [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librusqlite-2850472683fad2c2.rlib(rusqlite-2850472683fad2c2.rusqlite.db502de910fb6ced-cgu.1.rcgu.o): undefined symbol: sqlite3_prepare_v2 [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 `chat` (bin "chat") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96797fd455dee99dce8c0fa53916023fa41a7d9db16f3e1c1e1e265793aa33a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96797fd455dee99dce8c0fa53916023fa41a7d9db16f3e1c1e1e265793aa33a0", kill_on_drop: false }` [INFO] [stdout] 96797fd455dee99dce8c0fa53916023fa41a7d9db16f3e1c1e1e265793aa33a0