[INFO] cloning repository https://github.com/jeremybaumont/envoy-digest-header-filter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeremybaumont/envoy-digest-header-filter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremybaumont%2Fenvoy-digest-header-filter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremybaumont%2Fenvoy-digest-header-filter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b39fb2e4d500f85a19cc296b731c900c7b5de709 [INFO] building jeremybaumont/envoy-digest-header-filter against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremybaumont%2Fenvoy-digest-header-filter" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/jeremybaumont/envoy-digest-header-filter [INFO] finished tweaking git repo https://github.com/jeremybaumont/envoy-digest-header-filter [INFO] tweaked toml for git repo https://github.com/jeremybaumont/envoy-digest-header-filter written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeremybaumont/envoy-digest-header-filter 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/jeremybaumont/envoy-digest-header-filter 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 604e574388300a5bb092d71012f5c6c0bfbfcce7c3ccbae3b8d637b539049565 [INFO] running `Command { std: "docker" "start" "-a" "604e574388300a5bb092d71012f5c6c0bfbfcce7c3ccbae3b8d637b539049565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "604e574388300a5bb092d71012f5c6c0bfbfcce7c3ccbae3b8d637b539049565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604e574388300a5bb092d71012f5c6c0bfbfcce7c3ccbae3b8d637b539049565", kill_on_drop: false }` [INFO] [stdout] 604e574388300a5bb092d71012f5c6c0bfbfcce7c3ccbae3b8d637b539049565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1e6dcd19e7acf241ff47b4ab02a069d4ce8707ddc1b542e84d85d9066e342bcb [INFO] running `Command { std: "docker" "start" "-a" "1e6dcd19e7acf241ff47b4ab02a069d4ce8707ddc1b542e84d85d9066e342bcb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling proxy-wasm-experimental v0.0.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling envoy-sdk v0.1.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling envoy-sample-http-filter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `envoy::error::format_err` [INFO] [stdout] --> src/filter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use envoy::error::format_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/factory.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | Self::new(Clock::default(), Stats::default()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | Self::new(::default(), Stats::default()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/factory.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | Self::new(Clock::default(), Stats::default()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | Self::new(Clock::default(), ::default()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | _ => self.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling envoy-sample-http-filter-module v0.1.0 (/opt/rustwide/workdir/wasm/module) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "start" "--export" "proxy_abi_version_0_1_0" "--export" "proxy_on_configure" "--export" "proxy_on_context_create" "--export" "proxy_on_delete" "--export" "proxy_on_done" "--export" "proxy_on_downstream_connection_close" "--export" "proxy_on_downstream_data" "--export" "proxy_on_http_call_response" "--export" "proxy_on_log" "--export" "proxy_on_memory_allocate" "--export" "proxy_on_new_connection" "--export" "proxy_on_queue_ready" "--export" "proxy_on_request_body" "--export" "proxy_on_request_headers" "--export" "proxy_on_request_trailers" "--export" "proxy_on_response_body" "--export" "proxy_on_response_headers" "--export" "proxy_on_response_trailers" "--export" "proxy_on_tick" "--export" "proxy_on_upstream_connection_close" "--export" "proxy_on_upstream_data" "--export" "proxy_on_vm_start" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libenvoy_sample_http_filter-24720f2c97041bdb,libbase64-432c4c410d40be38,libsafemem-dd741780d2fe4638,libbyteorder-1e6983f3598691a3,libserde_json-a62d4efdc8af3926,libryu-1081a85990212fc6,libitoa-aee37f8cc4299a8e,libsha2-8abf3f16c41cbcf9,libopaque_debug-d63d41056a54e997,libblock_buffer-73f02b42a60a6a64,libdigest-4b38abfa8ae35021,libgeneric_array-e0c570b7f2bbeec2,libtypenum-427d6b1faf4d5335,libchrono-e0c9f6bec1fad9d7,libnum_integer-3e6128c8db5f6051,libnum_traits-cd68c35c8549040e,liblibc-45dd6211c79ca181,libtime-643d12aa59cf50c3,libwasi-e8918ae1b8252f97,libserde-3a1285c9779a1cfd,libenvoy_sdk-3383fa2650b7f024,libbitflags-05377f64c37263ee,libanyhow-b4d99ad8e409f43a,libproxy_wasm_experimental-b9635504568026db,liblog-a9a299a14513c70e,libwee_alloc-eabc0b22adbf6c5c,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libhashbrown-1afdacb219df7249,libahash-c2543651d36673ec}.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" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/extension.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/extension.extension.a024573ae3618d7a-cgu.0.rcgu.o: undefined symbol: proxy_add_header_map_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/extension.extension.a024573ae3618d7a-cgu.0.rcgu.o: undefined symbol: proxy_replace_header_map_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/extension.extension.a024573ae3618d7a-cgu.0.rcgu.o: undefined symbol: proxy_remove_header_map_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/extension.extension.a024573ae3618d7a-cgu.0.rcgu.o: undefined symbol: proxy_set_header_map_pairs [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.0.rcgu.o): undefined symbol: proxy_get_metric [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.0.rcgu.o): undefined symbol: proxy_define_metric [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.0.rcgu.o): undefined symbol: proxy_record_metric [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.0.rcgu.o): undefined symbol: proxy_increment_metric [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.2.rcgu.o): undefined symbol: proxy_get_header_map_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.2.rcgu.o): undefined symbol: proxy_get_header_map_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.2.rcgu.o): undefined symbol: proxy_replace_header_map_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.2.rcgu.o): undefined symbol: proxy_remove_header_map_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.2.rcgu.o): undefined symbol: proxy_send_local_response [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libenvoy_sdk-3383fa2650b7f024.rlib(envoy_sdk-3383fa2650b7f024.envoy_sdk.e2164ae8c5f7f718-cgu.2.rcgu.o): undefined symbol: proxy_set_header_map_pairs [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libproxy_wasm_experimental-b9635504568026db.rlib(proxy_wasm_experimental-b9635504568026db.proxy_wasm_experimental.58248f6865799626-cgu.3.rcgu.o): undefined symbol: proxy_get_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libproxy_wasm_experimental-b9635504568026db.rlib(proxy_wasm_experimental-b9635504568026db.proxy_wasm_experimental.58248f6865799626-cgu.3.rcgu.o): undefined symbol: proxy_set_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libproxy_wasm_experimental-b9635504568026db.rlib(proxy_wasm_experimental-b9635504568026db.proxy_wasm_experimental.58248f6865799626-cgu.3.rcgu.o): undefined symbol: proxy_get_shared_data [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libproxy_wasm_experimental-b9635504568026db.rlib(proxy_wasm_experimental-b9635504568026db.proxy_wasm_experimental.58248f6865799626-cgu.3.rcgu.o): undefined symbol: proxy_set_shared_data [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libproxy_wasm_experimental-b9635504568026db.rlib(proxy_wasm_experimental-b9635504568026db.proxy_wasm_experimental.58248f6865799626-cgu.3.rcgu.o): undefined symbol: proxy_http_call [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libproxy_wasm_experimental-b9635504568026db.rlib(proxy_wasm_experimental-b9635504568026db.proxy_wasm_experimental.58248f6865799626-cgu.3.rcgu.o): undefined symbol: proxy_enqueue_shared_queue [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy-sample-http-filter-module` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1e6dcd19e7acf241ff47b4ab02a069d4ce8707ddc1b542e84d85d9066e342bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e6dcd19e7acf241ff47b4ab02a069d4ce8707ddc1b542e84d85d9066e342bcb", kill_on_drop: false }` [INFO] [stdout] 1e6dcd19e7acf241ff47b4ab02a069d4ce8707ddc1b542e84d85d9066e342bcb