[INFO] cloning repository https://github.com/perhenrik90/mindful [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/perhenrik90/mindful" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperhenrik90%2Fmindful", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperhenrik90%2Fmindful'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba5d589b73c794517f555eff491c187cd84b8c12 [INFO] building perhenrik90/mindful against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperhenrik90%2Fmindful" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/perhenrik90/mindful [INFO] finished tweaking git repo https://github.com/perhenrik90/mindful [INFO] tweaked toml for git repo https://github.com/perhenrik90/mindful written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/perhenrik90/mindful 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/perhenrik90/mindful 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 909bdc82209ec98d23aac236f24c55ed66bd4686f4b7268f5280453f4f9fc2a4 [INFO] running `Command { std: "docker" "start" "-a" "909bdc82209ec98d23aac236f24c55ed66bd4686f4b7268f5280453f4f9fc2a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "909bdc82209ec98d23aac236f24c55ed66bd4686f4b7268f5280453f4f9fc2a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909bdc82209ec98d23aac236f24c55ed66bd4686f4b7268f5280453f4f9fc2a4", kill_on_drop: false }` [INFO] [stdout] 909bdc82209ec98d23aac236f24c55ed66bd4686f4b7268f5280453f4f9fc2a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 582bfa78bb34a4287438e89cb8594b355c57debaec532d2e1a9fe49d1f984e00 [INFO] running `Command { std: "docker" "start" "-a" "582bfa78bb34a4287438e89cb8594b355c57debaec532d2e1a9fe49d1f984e00", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling parse_duration v2.1.0 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling sqlite v0.24.1 [INFO] [stderr] Compiling mindful v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::OsStr; [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::time` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `Utc` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc, NaiveDateTime, Local}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /** [INFO] [stdout] 30 | | * Prepare database schema and connection to local SQL lite [INFO] [stdout] 31 | | **/ [INFO] [stdout] | |________^ [INFO] [stdout] 32 | let db = get_config("mindful.db"); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / /** [INFO] [stdout] 64 | | * Checking mindful in [INFO] [stdout] 65 | | **/ [INFO] [stdout] | |________^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / /** [INFO] [stdout] 78 | | * Checking mindful out [INFO] [stdout] 79 | | **/ [INFO] [stdout] | |________^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / /** [INFO] [stdout] 100 | | * Dump database as CSV (standard out) [INFO] [stdout] 101 | | **/ [INFO] [stdout] | |________^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | f.write( &now.to_rfc3339().as_bytes()); [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] 73 | let _ = f.write( &now.to_rfc3339().as_bytes()); [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/{libsqlite-7bbf5111a65e0dc9,libsqlite3_sys-302a4fd09bbb5217,libsqlite3_src-7bb8cafc3412014b,libchrono-5665b83bfeb3d5d7,liblibc-a0bf3f5bdb4ecf17,libtime-d1db0051a92c2c33,libwasi-e8918ae1b8252f97,libparse_duration-b2dfd195dc0c4e04,libnum-1403dacb7427defa,libnum_rational-ec6706cb268ba523,libnum_iter-97c50cba3a221e83,libnum_complex-ffefe0fcc6603066,libnum_bigint-aa12537e6348cb86,libnum_integer-9e95c404138b958f,libnum_traits-d66ec26a95b0487f,liblazy_static-36da267ce9339a94,libregex-cc60b9b9a608c691,libthread_local-22afad8e16b14b92,libonce_cell-1ccc756ceee505a2,libregex_syntax-1c20b1f388cbe362,libaho_corasick-87197763c678bd01,libmemchr-fa8ffb06fb2c97e8}.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-535e48837956a82b/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.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-7bb8cafc3412014b.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/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_open_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_column_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_column_text [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_column_int64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_exec [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_exec [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_prepare_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_finalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mindful-bb6656ae000452b3.mindful.4c86649eb2471563-cgu.0.rcgu.o: undefined symbol: sqlite3_busy_handler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-7bbf5111a65e0dc9.rlib(sqlite-7bbf5111a65e0dc9.sqlite.5f76d41f3c1f5aee-cgu.0.rcgu.o): undefined symbol: sqlite3_errcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-7bbf5111a65e0dc9.rlib(sqlite-7bbf5111a65e0dc9.sqlite.5f76d41f3c1f5aee-cgu.0.rcgu.o): undefined symbol: sqlite3_errmsg [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-7bbf5111a65e0dc9.rlib(sqlite-7bbf5111a65e0dc9.sqlite.5f76d41f3c1f5aee-cgu.0.rcgu.o): undefined symbol: sqlite3_step [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mindful` (bin "mindful") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "582bfa78bb34a4287438e89cb8594b355c57debaec532d2e1a9fe49d1f984e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582bfa78bb34a4287438e89cb8594b355c57debaec532d2e1a9fe49d1f984e00", kill_on_drop: false }` [INFO] [stdout] 582bfa78bb34a4287438e89cb8594b355c57debaec532d2e1a9fe49d1f984e00