[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] checking jeremybaumont/envoy-digest-header-filter against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremybaumont%2Fenvoy-digest-header-filter" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeremybaumont/envoy-digest-header-filter on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded envoy-sdk v0.1.0 [INFO] [stderr] Downloaded proxy-wasm-experimental v0.0.7 [INFO] [stderr] Downloaded anyhow v1.0.33 [INFO] [stderr] Downloaded hashbrown v0.7.2 [INFO] [stderr] Downloaded syn v1.0.45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b35666aa909c74c95cb64020adcc551c71353b39f2824cc4b857b8dd36a329ec [INFO] running `Command { std: "docker" "start" "-a" "b35666aa909c74c95cb64020adcc551c71353b39f2824cc4b857b8dd36a329ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b35666aa909c74c95cb64020adcc551c71353b39f2824cc4b857b8dd36a329ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35666aa909c74c95cb64020adcc551c71353b39f2824cc4b857b8dd36a329ec", kill_on_drop: false }` [INFO] [stdout] b35666aa909c74c95cb64020adcc551c71353b39f2824cc4b857b8dd36a329ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 759ca162a5bacc48e38c6f81ef396eeeb775eeabc9b710eb1baaf0c288bd5a11 [INFO] running `Command { std: "docker" "start" "-a" "759ca162a5bacc48e38c6f81ef396eeeb775eeabc9b710eb1baaf0c288bd5a11", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling log v0.4.11 [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 anyhow v1.0.33 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking proxy-wasm-experimental v0.0.7 [INFO] [stderr] Checking envoy-sdk v0.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking 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: 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: 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] [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] [stdout] error[E0277]: the trait bound `envoy_sdk::host::ByteString: From<&[u8; 22]>` is not satisfied [INFO] [stdout] --> src/lib.rs:264:26 [INFO] [stdout] | [INFO] [stdout] 264 | let some_body = &ByteString::from(b"The content of a thing"); [INFO] [stdout] | ^^^^^^^^^^ the trait `From<&[u8; 22]>` is not implemented for `envoy_sdk::host::ByteString` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From<&[u8]>` [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From<&envoy_sdk::host::ByteString>` [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From<&str>` [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From>` [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:269:42 [INFO] [stdout] | [INFO] [stdout] 269 | Digest::from_base64_and_size(&ByteString::from(provided), sha_size), [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ByteString`, found `&ByteString` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn from_base64_and_size(digest: ByteString, size: ShaSize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------------ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 269 - Digest::from_base64_and_size(&ByteString::from(provided), sha_size), [INFO] [stdout] 269 + Digest::from_base64_and_size(ByteString::from(provided), sha_size), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `envoy_sdk::host::ByteString: From<&[u8; 22]>` is not satisfied [INFO] [stdout] --> src/lib.rs:275:26 [INFO] [stdout] | [INFO] [stdout] 275 | let some_body = &ByteString::from(b"The content of a thing"); [INFO] [stdout] | ^^^^^^^^^^ the trait `From<&[u8; 22]>` is not implemented for `envoy_sdk::host::ByteString` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From<&[u8]>` [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From<&envoy_sdk::host::ByteString>` [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From<&str>` [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From>` [INFO] [stdout] `envoy_sdk::host::ByteString` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:280:42 [INFO] [stdout] | [INFO] [stdout] 280 | Digest::from_base64_and_size(&ByteString::from("not a hash".to_owned()), sha_size), [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ByteString`, found `&ByteString` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn from_base64_and_size(digest: ByteString, size: ShaSize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------------ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 280 - Digest::from_base64_and_size(&ByteString::from("not a hash".to_owned()), sha_size), [INFO] [stdout] 280 + Digest::from_base64_and_size(ByteString::from("not a hash".to_owned()), sha_size), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking envoy-sample-http-filter-module v0.1.0 (/opt/rustwide/workdir/wasm/module) [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy-sample-http-filter` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "759ca162a5bacc48e38c6f81ef396eeeb775eeabc9b710eb1baaf0c288bd5a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "759ca162a5bacc48e38c6f81ef396eeeb775eeabc9b710eb1baaf0c288bd5a11", kill_on_drop: false }` [INFO] [stdout] 759ca162a5bacc48e38c6f81ef396eeeb775eeabc9b710eb1baaf0c288bd5a11