[INFO] fetching crate cookiecutter 0.1.0... [INFO] building cookiecutter-0.1.0 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate cookiecutter 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate cookiecutter 0.1.0 [INFO] finished tweaking crates.io crate cookiecutter 0.1.0 [INFO] tweaked toml for crates.io crate cookiecutter 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cookiecutter 0.1.0 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 crates.io crate cookiecutter 0.1.0 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] c99fea3a6a63f6ce13f16df3d42e706f375bed9299b3f1ee23c7d7d6b4ee1144 [INFO] running `Command { std: "docker" "start" "-a" "c99fea3a6a63f6ce13f16df3d42e706f375bed9299b3f1ee23c7d7d6b4ee1144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c99fea3a6a63f6ce13f16df3d42e706f375bed9299b3f1ee23c7d7d6b4ee1144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c99fea3a6a63f6ce13f16df3d42e706f375bed9299b3f1ee23c7d7d6b4ee1144", kill_on_drop: false }` [INFO] [stdout] c99fea3a6a63f6ce13f16df3d42e706f375bed9299b3f1ee23c7d7d6b4ee1144 [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] aa6496af9871d757d2d045e11b78366a3ed3b0ed8739f2f1caf768fae259aa9d [INFO] running `Command { std: "docker" "start" "-a" "aa6496af9871d757d2d045e11b78366a3ed3b0ed8739f2f1caf768fae259aa9d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling sqlite3-src v0.3.0 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap_derive v3.0.5 [INFO] [stderr] Compiling clap v3.0.5 [INFO] [stderr] Compiling lz4 v1.23.2 [INFO] [stderr] Compiling sqlite3-sys v0.13.0 [INFO] [stderr] Compiling sqlite v0.26.0 [INFO] [stderr] Compiling cookiecutter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `encrypted_value` [INFO] [stdout] --> src/lib.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn decrypt_chrome_cookie_value(encrypted_value: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encrypted_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile_folder` [INFO] [stdout] --> src/lib.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn chrome_cookies(profile_folder: &Path, domain_substring_filter: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain_substring_filter` [INFO] [stdout] --> src/lib.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn chrome_cookies(profile_folder: &Path, domain_substring_filter: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain_substring_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Chrome` is never constructed [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Browser { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 16 | Firefox, [INFO] [stdout] 17 | Chrome [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Browser` has a derived impl for the trait `Clone`, 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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcookiecutter-201a5035bab893b5,libregex-79e871bbedef2450,libaho_corasick-baddd0b3557f6bb6,libregex_syntax-8d711ceefe044bbe,libjson-e41b9ebf76fa056f,liblz4-70896eba1a7ce910,liblz4_sys-ac920c6216dbac0e,libsqlite-5f12792e1186bd30,libsqlite3_sys-4cdbe5da066afc7c,libsqlite3_src-c1282c10f93928d1,liblibc-f751e0f810e838ac,libclap-6391a35a4153b17f,libstrsim-39ec6cd5a47c2372,libatty-3242e974e54baef7,libtermcolor-c34103f6b37717ab,libtextwrap-2392e20329f46100,libindexmap-1fc9dff50a62196e,libhashbrown-ece374be44553230,libos_str_bytes-6456826375474987,libmemchr-545e7d17a9c608e3,libbitflags-15e3d67e03629ffa,liblazy_static-36da267ce9339a94}.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/lz4-sys-d9872484daeccf1d/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/sqlite3-src-ef0a25724c9b103f/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/cookies-e084fe3e185d7665.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/liblz4_sys-ac920c6216dbac0e.rlib: archive member 'lz4.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblz4_sys-ac920c6216dbac0e.rlib: archive member 'lz4frame.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblz4_sys-ac920c6216dbac0e.rlib: archive member 'lz4hc.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblz4_sys-ac920c6216dbac0e.rlib: archive member 'xxhash.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite3_src-c1282c10f93928d1.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/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.1.rcgu.o): undefined symbol: sqlite3_open_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.1.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.1.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.1.rcgu.o): undefined symbol: sqlite3_exec [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.1.rcgu.o): undefined symbol: sqlite3_close [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.1.rcgu.o): undefined symbol: sqlite3_busy_handler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.1.rcgu.o): undefined symbol: sqlite3_column_text [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.2.rcgu.o): undefined symbol: sqlite3_column_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.2.rcgu.o): undefined symbol: sqlite3_prepare_v2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.2.rcgu.o): undefined symbol: sqlite3_column_name [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcookiecutter-201a5035bab893b5.rlib(cookiecutter-201a5035bab893b5.cookiecutter.5e2dc677d95210f1-cgu.2.rcgu.o): undefined symbol: sqlite3_finalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblz4-70896eba1a7ce910.rlib(lz4-70896eba1a7ce910.lz4.50f3c0458524cb0c-cgu.0.rcgu.o): undefined symbol: LZ4_compressBound [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblz4-70896eba1a7ce910.rlib(lz4-70896eba1a7ce910.lz4.50f3c0458524cb0c-cgu.0.rcgu.o): undefined symbol: LZ4_decompress_safe [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-5f12792e1186bd30.rlib(sqlite-5f12792e1186bd30.sqlite.326fca8dc97e986b-cgu.0.rcgu.o): undefined symbol: sqlite3_errcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-5f12792e1186bd30.rlib(sqlite-5f12792e1186bd30.sqlite.326fca8dc97e986b-cgu.0.rcgu.o): undefined symbol: sqlite3_errmsg [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsqlite-5f12792e1186bd30.rlib(sqlite-5f12792e1186bd30.sqlite.326fca8dc97e986b-cgu.0.rcgu.o): undefined symbol: sqlite3_step [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cookiecutter` (bin "cookies") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "aa6496af9871d757d2d045e11b78366a3ed3b0ed8739f2f1caf768fae259aa9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6496af9871d757d2d045e11b78366a3ed3b0ed8739f2f1caf768fae259aa9d", kill_on_drop: false }` [INFO] [stdout] aa6496af9871d757d2d045e11b78366a3ed3b0ed8739f2f1caf768fae259aa9d