[INFO] cloning repository https://github.com/jgramoll/kong-rust-pdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgramoll/kong-rust-pdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgramoll%2Fkong-rust-pdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgramoll%2Fkong-rust-pdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87a1d1f89b4adc7a0b84e56dfcc3f258313546ef [INFO] testing jgramoll/kong-rust-pdk against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgramoll%2Fkong-rust-pdk" "/workspace/builds/worker-78/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-78/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jgramoll/kong-rust-pdk 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/jgramoll/kong-rust-pdk [INFO] finished tweaking git repo https://github.com/jgramoll/kong-rust-pdk [INFO] tweaked toml for git repo https://github.com/jgramoll/kong-rust-pdk written to /workspace/builds/worker-78/source/Cargo.toml [INFO] crate git repo https://github.com/jgramoll/kong-rust-pdk 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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] [stdout] ff6bfc20e352c32736d62725fe88c7bfe9d8d7b168c45ba733a58b8e70906050 [INFO] running `Command { std: "docker" "start" "-a" "ff6bfc20e352c32736d62725fe88c7bfe9d8d7b168c45ba733a58b8e70906050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff6bfc20e352c32736d62725fe88c7bfe9d8d7b168c45ba733a58b8e70906050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff6bfc20e352c32736d62725fe88c7bfe9d8d7b168c45ba733a58b8e70906050", kill_on_drop: false }` [INFO] [stdout] ff6bfc20e352c32736d62725fe88c7bfe9d8d7b168c45ba733a58b8e70906050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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] [stdout] 043a9347c1c9a8f8d3655e53850bf87366264d72aac9f324fd44213c84a40a9b [INFO] running `Command { std: "docker" "start" "-a" "043a9347c1c9a8f8d3655e53850bf87366264d72aac9f324fd44213c84a40a9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling kong-rust-pdk-macro v0.1.0 (/opt/rustwide/workdir/kong-rust-pdk-macro) [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Compiling kong-rust-pdk-proto v0.1.0 (/opt/rustwide/workdir/kong-rust-pdk-proto) [INFO] [stderr] Compiling serde-prost-types v0.1.0 (/opt/rustwide/workdir/serde-prost-types) [INFO] [stderr] Compiling kong-rust-pdk v0.1.0 (/opt/rustwide/workdir/kong-rust-pdk) [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> kong-rust-pdk/src/pdk.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | stream: Stream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_string` [INFO] [stdout] --> kong-rust-pdk/src/stream/bridge.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) async fn send_string(&self, method: &str, v: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kong-rust-pdk-test v0.1.0 (/opt/rustwide/workdir/kong-rust-pdk-test) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> kong-rust-pdk-test/src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Error, Result, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kong-rust-pdk-examples v0.1.0 (/opt/rustwide/workdir/examples) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "043a9347c1c9a8f8d3655e53850bf87366264d72aac9f324fd44213c84a40a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043a9347c1c9a8f8d3655e53850bf87366264d72aac9f324fd44213c84a40a9b", kill_on_drop: false }` [INFO] [stdout] 043a9347c1c9a8f8d3655e53850bf87366264d72aac9f324fd44213c84a40a9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82aa2b6e744009f562ceaed0dc120e8a0c100b0dc1ce8d15dbe02b39ed5bd0a0 [INFO] running `Command { std: "docker" "start" "-a" "82aa2b6e744009f562ceaed0dc120e8a0c100b0dc1ce8d15dbe02b39ed5bd0a0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling kong-rust-pdk-macro v0.1.0 (/opt/rustwide/workdir/kong-rust-pdk-macro) [INFO] [stderr] Compiling serde-prost-types v0.1.0 (/opt/rustwide/workdir/serde-prost-types) [INFO] [stderr] Compiling kong-rust-pdk-proto v0.1.0 (/opt/rustwide/workdir/kong-rust-pdk-proto) [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> kong-rust-pdk/src/pdk.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | stream: Stream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_string` [INFO] [stdout] --> kong-rust-pdk/src/stream/bridge.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) async fn send_string(&self, method: &str, v: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kong-rust-pdk v0.1.0 (/opt/rustwide/workdir/kong-rust-pdk) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> kong-rust-pdk-test/src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Error, Result, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kong-rust-pdk-test v0.1.0 (/opt/rustwide/workdir/kong-rust-pdk-test) [INFO] [stderr] Compiling kong-rust-pdk-examples v0.1.0 (/opt/rustwide/workdir/examples) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> kong-rust-pdk-test/src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Error, Result, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `methods` [INFO] [stdout] --> kong-rust-pdk/src/request/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(methods::Methods::GetMethod.to_string(), s); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `write` is private [INFO] [stdout] --> kong-rust-pdk/src/stream/read.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | left.write(&7_i32.to_le_bytes()).await?; [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: kong-rust-pdk/src/stream/write.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn write(&self, buf: &[u8]) -> tokio::io::Result { [INFO] [stdout] | ------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `write` is private [INFO] [stdout] --> kong-rust-pdk/src/stream/read.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | left.write(&(bytes.len() as i32).to_le_bytes()).await?; [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: kong-rust-pdk/src/stream/write.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn write(&self, buf: &[u8]) -> tokio::io::Result { [INFO] [stdout] | ------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `write` is private [INFO] [stdout] --> kong-rust-pdk/src/stream/read.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | left.write(bytes).await?; [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: kong-rust-pdk/src/stream/write.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn write(&self, buf: &[u8]) -> tokio::io::Result { [INFO] [stdout] | ------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `write` is private [INFO] [stdout] --> kong-rust-pdk/src/stream/read.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | left.write(&(bytes.len() as i32).to_le_bytes()).await?; [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: kong-rust-pdk/src/stream/write.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn write(&self, buf: &[u8]) -> tokio::io::Result { [INFO] [stdout] | ------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `write` is private [INFO] [stdout] --> kong-rust-pdk/src/stream/read.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | left.write(bytes).await?; [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: kong-rust-pdk/src/stream/write.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn write(&self, buf: &[u8]) -> tokio::io::Result { [INFO] [stdout] | ------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `write` is private [INFO] [stdout] --> kong-rust-pdk/src/stream/read.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | left.write(&(bytes.len() as i32).to_le_bytes()).await?; [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: kong-rust-pdk/src/stream/write.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn write(&self, buf: &[u8]) -> tokio::io::Result { [INFO] [stdout] | ------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `write` is private [INFO] [stdout] --> kong-rust-pdk/src/stream/read.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | left.write(&bytes).await?; [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: kong-rust-pdk/src/stream/write.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn write(&self, buf: &[u8]) -> tokio::io::Result { [INFO] [stdout] | ------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `write_method_with_args` is private [INFO] [stdout] --> kong-rust-pdk/src/stream/write.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let len = left.write_method_with_args(method, &args).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: kong-rust-pdk/src/stream/bridge.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / async fn write_method_with_args( [INFO] [stdout] 17 | | &self, [INFO] [stdout] 18 | | method: &str, [INFO] [stdout] 19 | | args: &T, [INFO] [stdout] 20 | | ) -> tokio::io::Result { [INFO] [stdout] | |_________________________________- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kong-rust-pdk` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "82aa2b6e744009f562ceaed0dc120e8a0c100b0dc1ce8d15dbe02b39ed5bd0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82aa2b6e744009f562ceaed0dc120e8a0c100b0dc1ce8d15dbe02b39ed5bd0a0", kill_on_drop: false }` [INFO] [stdout] 82aa2b6e744009f562ceaed0dc120e8a0c100b0dc1ce8d15dbe02b39ed5bd0a0