[INFO] cloning repository https://github.com/lwintermelon/openwrt-rust-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lwintermelon/openwrt-rust-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwintermelon%2Fopenwrt-rust-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwintermelon%2Fopenwrt-rust-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d90e4ea373d8f7dd82044c9e9d0adf0ce32ffaa [INFO] documenting lwintermelon/openwrt-rust-example against nightly for scrape-examples [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwintermelon%2Fopenwrt-rust-example" "/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/lwintermelon/openwrt-rust-example on toolchain nightly [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/lwintermelon/openwrt-rust-example [INFO] finished tweaking git repo https://github.com/lwintermelon/openwrt-rust-example [INFO] tweaked toml for git repo https://github.com/lwintermelon/openwrt-rust-example written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/lwintermelon/openwrt-rust-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ae8ea487134940f01176871e8c020b6873eb0c1238dc67122d73695de808df0 [INFO] running `Command { std: "docker" "start" "-a" "0ae8ea487134940f01176871e8c020b6873eb0c1238dc67122d73695de808df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ae8ea487134940f01176871e8c020b6873eb0c1238dc67122d73695de808df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae8ea487134940f01176871e8c020b6873eb0c1238dc67122d73695de808df0", kill_on_drop: false }` [INFO] [stdout] 0ae8ea487134940f01176871e8c020b6873eb0c1238dc67122d73695de808df0 [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" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c75e595f71c853afcba6e276882ff8b0f5123e582ffea0b51879bdbc6d0e3a0 [INFO] running `Command { std: "docker" "start" "-a" "9c75e595f71c853afcba6e276882ff8b0f5123e582ffea0b51879bdbc6d0e3a0", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling openwrt-rust-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/conntrack_events.c:6:10: fatal error: libnetfilter_conntrack/libnetfilter_conntrack.h: No such file or directory [INFO] [stderr] warning: 6 | #include [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `openwrt-rust-example v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/openwrt-rust-example-6cfd66ec9370c29e/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/conntrack_events.c [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,llvm14-builtins-abi,sse,sse2") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/vagrant/openwrt-sdk-21.02.0-rc4-x86-64_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-x86_64_musl/usr/include" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/openwrt-rust-example-ec9309040e29763b/out/src/conntrack_events.o" "-c" "src/conntrack_events.c" [INFO] [stderr] cargo:warning=src/conntrack_events.c:6:10: fatal error: libnetfilter_conntrack/libnetfilter_conntrack.h: No such file or directory [INFO] [stderr] cargo:warning= 6 | #include [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/vagrant/openwrt-sdk-21.02.0-rc4-x86-64_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-x86_64_musl/usr/include" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/openwrt-rust-example-ec9309040e29763b/out/src/conntrack_events.o" "-c" "src/conntrack_events.c" with args "cc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "9c75e595f71c853afcba6e276882ff8b0f5123e582ffea0b51879bdbc6d0e3a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c75e595f71c853afcba6e276882ff8b0f5123e582ffea0b51879bdbc6d0e3a0", kill_on_drop: false }` [INFO] [stdout] 9c75e595f71c853afcba6e276882ff8b0f5123e582ffea0b51879bdbc6d0e3a0