[INFO] cloning repository https://github.com/cgenin/cve_war_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cgenin/cve_war_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgenin%2Fcve_war_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgenin%2Fcve_war_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3f1f21f3f6984abed3a5379aa2bd87d4201a004 [INFO] building cgenin/cve_war_cli against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgenin%2Fcve_war_cli" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cgenin/cve_war_cli [INFO] finished tweaking git repo https://github.com/cgenin/cve_war_cli [INFO] tweaked toml for git repo https://github.com/cgenin/cve_war_cli written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cgenin/cve_war_cli 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/cgenin/cve_war_cli 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a1b0cf5e4aeab4e7f899ab024d861bf2451e1cdcdcd56f7e2c3575672602037f [INFO] running `Command { std: "docker" "start" "-a" "a1b0cf5e4aeab4e7f899ab024d861bf2451e1cdcdcd56f7e2c3575672602037f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1b0cf5e4aeab4e7f899ab024d861bf2451e1cdcdcd56f7e2c3575672602037f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b0cf5e4aeab4e7f899ab024d861bf2451e1cdcdcd56f7e2c3575672602037f", kill_on_drop: false }` [INFO] [stdout] a1b0cf5e4aeab4e7f899ab024d861bf2451e1cdcdcd56f7e2c3575672602037f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d776cc25361b3fee350c16a7a64c40742920abcd79545c7130c8723db69b8934 [INFO] running `Command { std: "docker" "start" "-a" "d776cc25361b3fee350c16a7a64c40742920abcd79545c7130c8723db69b8934", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.0.0-rc.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling clap v3.0.0-rc.5 [INFO] [stderr] Compiling cve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to crates, extern crates, and modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut file = archive.by_index(i).expect("Index non trouvé"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (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" "--export" "bz_internal_error" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<4 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libzip-4f9946f435af41c8,libtime-ed2f8ee348de1f2e,libwasi-e8918ae1b8252f97,libthiserror-e67c3a6644948aca,libbzip2-1873614532fe8b71,libbzip2_sys-a05c099244ac8bb7,liblibc-f751e0f810e838ac,libflate2-1af51ebc5fdf23c2,libminiz_oxide-629d95067ea26f96,libadler-5d585fd5ceaaf370,libbyteorder-f00db367bf6f80f8,libcrc32fast-f994177ce033b336,libcfg_if-50b02a9e3502ecf2,libwalkdir-e16523cfab32a1c0,libsame_file-d90975b76a214118,libclap-6a8447593a0ae7d3,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/bzip2-sys-b03a0810df01e5ed/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/cve-49d8b3f205913017.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/libbzip2_sys-a05c099244ac8bb7.rlib: archive member 'blocksort.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-a05c099244ac8bb7.rlib: archive member 'huffman.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-a05c099244ac8bb7.rlib: archive member 'crctable.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-a05c099244ac8bb7.rlib: archive member 'randtable.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-a05c099244ac8bb7.rlib: archive member 'compress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-a05c099244ac8bb7.rlib: archive member 'decompress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-a05c099244ac8bb7.rlib: archive member 'bzlib.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-1873614532fe8b71.rlib(bzip2-1873614532fe8b71.bzip2.bda9d68959f2a0c1-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressEnd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cve` (bin "cve") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d776cc25361b3fee350c16a7a64c40742920abcd79545c7130c8723db69b8934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d776cc25361b3fee350c16a7a64c40742920abcd79545c7130c8723db69b8934", kill_on_drop: false }` [INFO] [stdout] d776cc25361b3fee350c16a7a64c40742920abcd79545c7130c8723db69b8934