[INFO] fetching crate grafbase-hooks 0.4.1... [INFO] testing grafbase-hooks-0.4.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate grafbase-hooks 0.4.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate grafbase-hooks 0.4.1 [INFO] finished tweaking crates.io crate grafbase-hooks 0.4.1 [INFO] tweaked toml for crates.io crate grafbase-hooks 0.4.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate grafbase-hooks 0.4.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate grafbase-hooks 0.4.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded grafbase-hooks-derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c80bf9386f7b8fd7f80791d49685fe213833efd411ed3ebba1273ee5ff73607 [INFO] running `Command { std: "docker" "start" "-a" "7c80bf9386f7b8fd7f80791d49685fe213833efd411ed3ebba1273ee5ff73607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c80bf9386f7b8fd7f80791d49685fe213833efd411ed3ebba1273ee5ff73607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c80bf9386f7b8fd7f80791d49685fe213833efd411ed3ebba1273ee5ff73607", kill_on_drop: false }` [INFO] [stdout] 7c80bf9386f7b8fd7f80791d49685fe213833efd411ed3ebba1273ee5ff73607 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c55c7792f174b2a767682257dd7082e9d26e517edc5a8c65c27a7f62a985e063 [INFO] running `Command { std: "docker" "start" "-a" "c55c7792f174b2a767682257dd7082e9d26e517edc5a8c65c27a7f62a985e063", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling wasmparser v0.227.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling prettyplease v0.2.30 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling wasm-encoder v0.227.1 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling spdx v0.10.8 [INFO] [stderr] Compiling wit-bindgen-rust v0.41.0 [INFO] [stderr] Compiling wit-bindgen-rt v0.41.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.41.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling grafbase-hooks-derive v0.1.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling auditable-serde v0.8.0 [INFO] [stderr] Compiling wit-parser v0.227.1 [INFO] [stderr] Compiling wasm-metadata v0.227.1 [INFO] [stderr] Compiling wit-bindgen-core v0.41.0 [INFO] [stderr] Compiling wit-component v0.227.1 [INFO] [stderr] Compiling wit-bindgen v0.41.0 [INFO] [stderr] Compiling grafbase-hooks v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.49s [INFO] running `Command { std: "docker" "inspect" "c55c7792f174b2a767682257dd7082e9d26e517edc5a8c65c27a7f62a985e063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c55c7792f174b2a767682257dd7082e9d26e517edc5a8c65c27a7f62a985e063", kill_on_drop: false }` [INFO] [stdout] c55c7792f174b2a767682257dd7082e9d26e517edc5a8c65c27a7f62a985e063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18a51ef9611b4aa0682307b82960f18801fae6852e94e26e4e97ee9cae90f02c [INFO] running `Command { std: "docker" "start" "-a" "18a51ef9611b4aa0682307b82960f18801fae6852e94e26e4e97ee9cae90f02c", kill_on_drop: false }` [INFO] [stderr] Compiling grafbase-hooks v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "18a51ef9611b4aa0682307b82960f18801fae6852e94e26e4e97ee9cae90f02c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a51ef9611b4aa0682307b82960f18801fae6852e94e26e4e97ee9cae90f02c", kill_on_drop: false }` [INFO] [stdout] 18a51ef9611b4aa0682307b82960f18801fae6852e94e26e4e97ee9cae90f02c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ff6720a36486647a895dd1bff4f52c2a52c0f2f3770f5a357e677778e01430a [INFO] running `Command { std: "docker" "start" "-a" "0ff6720a36486647a895dd1bff4f52c2a52c0f2f3770f5a357e677778e01430a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/grafbase_hooks-43456c16c56de4f6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests grafbase_hooks [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test README.md - (line 79) ... FAILED [INFO] [stdout] test README.md - (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - wit::__export_hooks_impl (line 62) ... ok [INFO] [stdout] test src/hooks/authorization/node_pre_execution_arguments.rs - hooks::authorization::node_pre_execution_arguments::NodePreExecutionArguments::metadata (line 61) ... ok [INFO] [stdout] test src/hooks/authorization/edge_pre_execution_arguments.rs - hooks::authorization::edge_pre_execution_arguments::EdgePreExecutionArguments::arguments (line 71) ... ok [INFO] [stdout] test src/hooks/authorization/edge_post_execution_arguments.rs - hooks::authorization::edge_post_execution_arguments::EdgePostExecutionArguments::metadata (line 211) ... ok [INFO] [stdout] test src/hooks/authorization/edge_node_post_execution_arguments.rs - hooks::authorization::edge_node_post_execution_arguments::EdgeNodePostExecutionArguments::nodes (line 114) ... ok [INFO] [stdout] test src/hooks/authorization/parent_edge_post_execution_arguments.rs - hooks::authorization::parent_edge_post_execution_arguments::ParentEdgePostExecutionArguments::metadata (line 164) ... ok [INFO] [stdout] test src/hooks/authorization/edge_pre_execution_arguments.rs - hooks::authorization::edge_pre_execution_arguments::EdgePreExecutionArguments::metadata (line 113) ... ok [INFO] [stdout] test src/hooks/authorization/parent_edge_post_execution_arguments.rs - hooks::authorization::parent_edge_post_execution_arguments::ParentEdgePostExecutionArguments::parents (line 114) ... ok [INFO] [stdout] test src/hooks/authorization/edge_post_execution_arguments.rs - hooks::authorization::edge_post_execution_arguments::EdgePostExecutionArguments::edges (line 133) ... ok [INFO] [stdout] test src/hooks/authorization/edge_node_post_execution_arguments.rs - hooks::authorization::edge_node_post_execution_arguments::EdgeNodePostExecutionArguments::metadata (line 164) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- README.md - (line 79) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `build` [INFO] [stdout] --> README.md:80:7 [INFO] [stdout] | [INFO] [stdout] 1 | cargo build --target wasm32-wasip2 --release [INFO] [stdout] | ^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- README.md - (line 41) stdout ---- [INFO] [stdout] error[E0050]: method `on_gateway_request` has 3 parameters but the declaration in trait `on_gateway_request` has 4 [INFO] [stdout] --> README.md:57:9 [INFO] [stdout] | [INFO] [stdout] 19 | / &mut self, [INFO] [stdout] 20 | | context: Context, [INFO] [stdout] 21 | | headers: Headers [INFO] [stdout] | |________________________^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `on_gateway_request` from trait: `fn(&mut Self, grafbase_hooks::Context, String, Headers) -> Result<(), ErrorResponse>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0050`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] README.md - (line 41) [INFO] [stdout] README.md - (line 79) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.11s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.44s; merged doctests compilation took 0.33s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0ff6720a36486647a895dd1bff4f52c2a52c0f2f3770f5a357e677778e01430a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff6720a36486647a895dd1bff4f52c2a52c0f2f3770f5a357e677778e01430a", kill_on_drop: false }` [INFO] [stdout] 0ff6720a36486647a895dd1bff4f52c2a52c0f2f3770f5a357e677778e01430a