[INFO] cloning repository https://github.com/jpothi01/recall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpothi01/recall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Frecall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Frecall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbc546d2ecb8f8526bf32b0dba8b65bb8fa50925 [INFO] building jpothi01/recall against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Frecall" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jpothi01/recall [INFO] finished tweaking git repo https://github.com/jpothi01/recall [INFO] tweaked toml for git repo https://github.com/jpothi01/recall written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jpothi01/recall 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/jpothi01/recall 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e26c660636bd3d84cbc488f8e18af9b116d83ac396cd4d02c7c9dac40d641a1c [INFO] running `Command { std: "docker" "start" "-a" "e26c660636bd3d84cbc488f8e18af9b116d83ac396cd4d02c7c9dac40d641a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e26c660636bd3d84cbc488f8e18af9b116d83ac396cd4d02c7c9dac40d641a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26c660636bd3d84cbc488f8e18af9b116d83ac396cd4d02c7c9dac40d641a1c", kill_on_drop: false }` [INFO] [stdout] e26c660636bd3d84cbc488f8e18af9b116d83ac396cd4d02c7c9dac40d641a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 88c704b1d409dfc4651a79d97071cd6d5c49cead27e75e6d94e90678bd8c6b92 [INFO] running `Command { std: "docker" "start" "-a" "88c704b1d409dfc4651a79d97071cd6d5c49cead27e75e6d94e90678bd8c6b92", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling shellexpand v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling structopt-derive v0.4.12 [INFO] [stderr] Compiling structopt v0.3.19 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling recall v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Display` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml::de` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use toml::de; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | if (code != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 362 - if (code != 0) { [INFO] [stdout] 362 + if code != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | Some(NoteContent::Path(path)) => Some("path".italic()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/main.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | Some(NoteContent::Link(link)) => Some("link".italic()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:226:32 [INFO] [stdout] | [INFO] [stdout] 226 | Some(NoteContent::Text(text)) => Some("text".italic()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_text` [INFO] [stdout] --> src/main.rs:485:44 [INFO] [stdout] | [INFO] [stdout] 485 | ... Ok(new_text) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:507:21 [INFO] [stdout] | [INFO] [stdout] 507 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [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/{libtoml-c808f68660e7e4d9,libserde-3f775ad0f0231c64,libtempfile-c2c88b77fd7aed5a,librand-03c03282d5ef8a14,librand_chacha-054c971bd01511b9,libppv_lite86-a227f9f0cf3466be,librand_core-af8b61040c667c95,libgetrandom-f2ccc32a4b0ae5b5,libwasi-203864a9547604ca,libremove_dir_all-32c9c6acbd877993,libstructopt-30829b233fa9c69a,libclap-741542d0774223f2,libtextwrap-f1ce9f77c0f2c5c6,libunicode_width-2ce7b1bea304ba76,libbitflags-05377f64c37263ee,libsqlite-30c743807dbaac1c,libsqlite3_sys-b323e072058d70c6,libsqlite3_src-3517e69697b71ebc,libshellexpand-9ef97ce3ac96234c,libdirs-457213a1a17f48cb,libcfg_if-c52cb2c48f08318d,libcolored-eae62dea5395827c,liblazy_static-36da267ce9339a94,libatty-3242e974e54baef7,libchrono-e0c9f6bec1fad9d7,libnum_integer-3e6128c8db5f6051,libnum_traits-cd68c35c8549040e,liblibc-45dd6211c79ca181,libtime-643d12aa59cf50c3,libwasi-e8918ae1b8252f97}.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/sqlite3-src-b18c2c2a782cd52c/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.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/libsqlite3_src-3517e69697b71ebc.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/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.0.rcgu.o: undefined symbol: sqlite3_column_text [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.2.rcgu.o: undefined symbol: sqlite3_open_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.2.rcgu.o: undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.2.rcgu.o: undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.2.rcgu.o: undefined symbol: sqlite3_exec [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.2.rcgu.o: undefined symbol: sqlite3_busy_handler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.2.rcgu.o: undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.3.rcgu.o: undefined symbol: sqlite3_bind_text [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.3.rcgu.o: undefined symbol: sqlite3_bind_int64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.3.rcgu.o: undefined symbol: sqlite3_column_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.3.rcgu.o: undefined symbol: sqlite3_column_int64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.3.rcgu.o: undefined symbol: sqlite3_prepare_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.3.rcgu.o: undefined symbol: sqlite3_bind_null [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/recall-d9bc5493ab260aad.recall.5ec55fa8167b74b5-cgu.3.rcgu.o: undefined symbol: sqlite3_finalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-30c743807dbaac1c.rlib(sqlite-30c743807dbaac1c.sqlite.bb3bfd49cdcb1f41-cgu.0.rcgu.o): undefined symbol: sqlite3_column_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-30c743807dbaac1c.rlib(sqlite-30c743807dbaac1c.sqlite.bb3bfd49cdcb1f41-cgu.0.rcgu.o): undefined symbol: sqlite3_errcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-30c743807dbaac1c.rlib(sqlite-30c743807dbaac1c.sqlite.bb3bfd49cdcb1f41-cgu.0.rcgu.o): undefined symbol: sqlite3_errmsg [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-30c743807dbaac1c.rlib(sqlite-30c743807dbaac1c.sqlite.bb3bfd49cdcb1f41-cgu.0.rcgu.o): undefined symbol: sqlite3_step [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-30c743807dbaac1c.rlib(sqlite-30c743807dbaac1c.sqlite.bb3bfd49cdcb1f41-cgu.0.rcgu.o): undefined symbol: sqlite3_column_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `recall` (bin "recall") due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88c704b1d409dfc4651a79d97071cd6d5c49cead27e75e6d94e90678bd8c6b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c704b1d409dfc4651a79d97071cd6d5c49cead27e75e6d94e90678bd8c6b92", kill_on_drop: false }` [INFO] [stdout] 88c704b1d409dfc4651a79d97071cd6d5c49cead27e75e6d94e90678bd8c6b92