[INFO] cloning repository https://github.com/cemoktra/grpc-biscuit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cemoktra/grpc-biscuit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcemoktra%2Fgrpc-biscuit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcemoktra%2Fgrpc-biscuit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9876e963cb677c6ba6d9707a1a36250b0e933bb [INFO] checking cemoktra/grpc-biscuit/b9876e963cb677c6ba6d9707a1a36250b0e933bb against master#5337252b9952fdd9482ed6a4add17254e5bd2c40 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcemoktra%2Fgrpc-biscuit" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cemoktra/grpc-biscuit on toolchain 5337252b9952fdd9482ed6a4add17254e5bd2c40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cemoktra/grpc-biscuit [INFO] finished tweaking git repo https://github.com/cemoktra/grpc-biscuit [INFO] tweaked toml for git repo https://github.com/cemoktra/grpc-biscuit written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cemoktra/grpc-biscuit 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" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "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 biscuit-quote v0.2.2 [INFO] [stderr] Downloaded biscuit-parser v0.1.2 [INFO] [stderr] Downloaded biscuit-auth v4.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7edfb7eb9872d13e635742f8c3fa17a98aef50b4c472b1e10460b610769c7770 [INFO] running `Command { std: "docker" "start" "-a" "7edfb7eb9872d13e635742f8c3fa17a98aef50b4c472b1e10460b610769c7770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7edfb7eb9872d13e635742f8c3fa17a98aef50b4c472b1e10460b610769c7770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edfb7eb9872d13e635742f8c3fa17a98aef50b4c472b1e10460b610769c7770", kill_on_drop: false }` [INFO] [stdout] 7edfb7eb9872d13e635742f8c3fa17a98aef50b4c472b1e10460b610769c7770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc26e6ac1d44e69f55b36fb75714f499815a4fdb4aafeeb88176947306025643 [INFO] running `Command { std: "docker" "start" "-a" "cc26e6ac1d44e69f55b36fb75714f499815a4fdb4aafeeb88176947306025643", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling biscuit-auth v4.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking prost v0.10.4 [INFO] [stderr] Checking prost-types v0.10.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling biscuit-parser v0.1.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling biscuit-quote v0.2.2 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking grpc-biscuit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time [INFO] [stdout] --> examples/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | tonic::include_proto!("example"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `tonic::include_proto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tonic_build` [INFO] [stdout] --> examples/build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | tonic_build::configure() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tonic_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic_build`, use `cargo add tonic_build` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `example::example_client`, `example::example_server`, `example::AuthenticatedEchoRequest`, `example::AuthenticatedEchoResponse` [INFO] [stdout] --> examples/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | example_client::ExampleClient, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `example_client` in `example` [INFO] [stdout] 14 | example_server::{Example, ExampleServer}, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `example_server` in `example` [INFO] [stdout] 15 | AuthenticatedEchoRequest, AuthenticatedEchoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ no `AuthenticatedEchoResponse` in `example` [INFO] [stdout] | | [INFO] [stdout] | no `AuthenticatedEchoRequest` in `example` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/src/main.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/src/main.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let _handle = tokio::task::spawn(server(addr, server_interceptor)); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-biscuit` (example "build") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-biscuit` (example "src") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "cc26e6ac1d44e69f55b36fb75714f499815a4fdb4aafeeb88176947306025643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc26e6ac1d44e69f55b36fb75714f499815a4fdb4aafeeb88176947306025643", kill_on_drop: false }` [INFO] [stdout] cc26e6ac1d44e69f55b36fb75714f499815a4fdb4aafeeb88176947306025643