[INFO] cloning repository https://github.com/L-jasmine/wasmedge_http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/L-jasmine/wasmedge_http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL-jasmine%2Fwasmedge_http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL-jasmine%2Fwasmedge_http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80f7b7da6960d2244b83cc7cfd92609b13945133 [INFO] testing L-jasmine/wasmedge_http against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL-jasmine%2Fwasmedge_http" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/L-jasmine/wasmedge_http on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/L-jasmine/wasmedge_http [INFO] finished tweaking git repo https://github.com/L-jasmine/wasmedge_http [INFO] tweaked toml for git repo https://github.com/L-jasmine/wasmedge_http written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/L-jasmine/wasmedge_http already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecodec v0.4.15 [INFO] [stderr] Downloaded trackable v0.2.24 [INFO] [stderr] Downloaded httpcodec v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8b9bfdba80806f7112e8ee557e7c5fafcd9a7ea0fbd64eaaa774fa371299a2b [INFO] running `Command { std: "docker" "start" "-a" "e8b9bfdba80806f7112e8ee557e7c5fafcd9a7ea0fbd64eaaa774fa371299a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8b9bfdba80806f7112e8ee557e7c5fafcd9a7ea0fbd64eaaa774fa371299a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b9bfdba80806f7112e8ee557e7c5fafcd9a7ea0fbd64eaaa774fa371299a2b", kill_on_drop: false }` [INFO] [stdout] e8b9bfdba80806f7112e8ee557e7c5fafcd9a7ea0fbd64eaaa774fa371299a2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eedfa71c33f176df1e56db4e6f411970664f60ac6f4ede71a43d0c89e55a3b57 [INFO] running `Command { std: "docker" "start" "-a" "eedfa71c33f176df1e56db4e6f411970664f60ac6f4ede71a43d0c89e55a3b57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wasmedge_wasi_socket v0.1.0 (https://github.com/second-state/wasmedge_wasi_socket?branch=main#84e27972) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling trackable v1.2.0 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling bytecodec v0.4.15 [INFO] [stderr] Compiling httpcodec v0.2.3 [INFO] [stderr] Compiling wasmedge_http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IoDecodeExt`, `ReadBuf` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use bytecodec::io::{IoDecodeExt, ReadBuf}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use bytecodec::{DecodeExt, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | handle_client(listener.accept()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.c79qingbvqglm3g.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libwasmedge_wasi_socket-959c7970c58295cc.rlib" "/opt/rustwide/target/debug/deps/liblibc-272172f988856a81.rlib" "/opt/rustwide/target/debug/deps/libhttpcodec-5156cf61806c38f2.rlib" "/opt/rustwide/target/debug/deps/libbytecodec-4a92dcee008881c0.rlib" "/opt/rustwide/target/debug/deps/libtrackable-8dd2ce6c10fade14.rlib" "/opt/rustwide/target/debug/deps/libtrackable-27f389677939aa71.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-4d098c56eb4115f5.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/wasmedge_http-22027f636fafd546.wasmedge_http.ae36460c-cgu.12.rcgu.o: in function `wasmedge_wasi_socket::TcpListener::bind::{{closure}}': [INFO] [stdout] /opt/rustwide/cargo-home/git/checkouts/wasmedge_wasi_socket-7fe79898929957b5/84e2797/src/lib.rs:218: undefined reference to `sock_open' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/git/checkouts/wasmedge_wasi_socket-7fe79898929957b5/84e2797/src/lib.rs:235: undefined reference to `sock_bind' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/git/checkouts/wasmedge_wasi_socket-7fe79898929957b5/84e2797/src/lib.rs:236: undefined reference to `sock_listen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwasmedge_wasi_socket-959c7970c58295cc.rlib(wasmedge_wasi_socket-959c7970c58295cc.wasmedge_wasi_socket.4a42e798-cgu.4.rcgu.o): in function `wasmedge_wasi_socket::TcpStream::shutdown': [INFO] [stdout] /opt/rustwide/cargo-home/git/checkouts/wasmedge_wasi_socket-7fe79898929957b5/84e2797/src/lib.rs:162: undefined reference to `sock_shutdown' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwasmedge_wasi_socket-959c7970c58295cc.rlib(wasmedge_wasi_socket-959c7970c58295cc.wasmedge_wasi_socket.4a42e798-cgu.4.rcgu.o): in function `::read': [INFO] [stdout] /opt/rustwide/cargo-home/git/checkouts/wasmedge_wasi_socket-7fe79898929957b5/84e2797/src/lib.rs:179: undefined reference to `sock_recv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwasmedge_wasi_socket-959c7970c58295cc.rlib(wasmedge_wasi_socket-959c7970c58295cc.wasmedge_wasi_socket.4a42e798-cgu.4.rcgu.o): in function `::write': [INFO] [stdout] /opt/rustwide/cargo-home/git/checkouts/wasmedge_wasi_socket-7fe79898929957b5/84e2797/src/lib.rs:200: undefined reference to `sock_send' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libwasmedge_wasi_socket-959c7970c58295cc.rlib(wasmedge_wasi_socket-959c7970c58295cc.wasmedge_wasi_socket.4a42e798-cgu.4.rcgu.o): in function `wasmedge_wasi_socket::TcpListener::accept': [INFO] [stdout] /opt/rustwide/cargo-home/git/checkouts/wasmedge_wasi_socket-7fe79898929957b5/84e2797/src/lib.rs:250: undefined reference to `sock_accept' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmedge_http` due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eedfa71c33f176df1e56db4e6f411970664f60ac6f4ede71a43d0c89e55a3b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eedfa71c33f176df1e56db4e6f411970664f60ac6f4ede71a43d0c89e55a3b57", kill_on_drop: false }` [INFO] [stdout] eedfa71c33f176df1e56db4e6f411970664f60ac6f4ede71a43d0c89e55a3b57