[INFO] fetching crate trillium-head 0.2.3... [INFO] testing trillium-head-0.2.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate trillium-head 0.2.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate trillium-head 0.2.3 [INFO] finished tweaking crates.io crate trillium-head 0.2.3 [INFO] tweaked toml for crates.io crate trillium-head 0.2.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trillium-head 0.2.3 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 trillium-head 0.2.3 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] fa620d732560ecdc7da5b87ec56389bd9216666d1eed032f38611e8da9cb3628 [INFO] running `Command { std: "docker" "start" "-a" "fa620d732560ecdc7da5b87ec56389bd9216666d1eed032f38611e8da9cb3628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa620d732560ecdc7da5b87ec56389bd9216666d1eed032f38611e8da9cb3628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa620d732560ecdc7da5b87ec56389bd9216666d1eed032f38611e8da9cb3628", kill_on_drop: false }` [INFO] [stdout] fa620d732560ecdc7da5b87ec56389bd9216666d1eed032f38611e8da9cb3628 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 881c73e6ca7e2ef41a39ba8274f9a9db98c822d217cbd603c574d9eaeac0dd1e [INFO] running `Command { std: "docker" "start" "-a" "881c73e6ca7e2ef41a39ba8274f9a9db98c822d217cbd603c574d9eaeac0dd1e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling stopper v0.2.7 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling trillium-macros v0.0.6 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling trillium-http v0.3.17 [INFO] [stderr] Compiling trillium v0.2.20 [INFO] [stderr] Compiling trillium-head v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.79s [INFO] running `Command { std: "docker" "inspect" "881c73e6ca7e2ef41a39ba8274f9a9db98c822d217cbd603c574d9eaeac0dd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "881c73e6ca7e2ef41a39ba8274f9a9db98c822d217cbd603c574d9eaeac0dd1e", kill_on_drop: false }` [INFO] [stdout] 881c73e6ca7e2ef41a39ba8274f9a9db98c822d217cbd603c574d9eaeac0dd1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c6440144b691bd3ca04623f5a6fc24565d863edd5cbbed8fe7292cd59e697e48 [INFO] running `Command { std: "docker" "start" "-a" "c6440144b691bd3ca04623f5a6fc24565d863edd5cbbed8fe7292cd59e697e48", kill_on_drop: false }` [INFO] [stderr] Compiling trillium-head v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_testing::{prelude::*, TestConn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_testing::{prelude::*, TestConn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_ok` in this scope [INFO] [stdout] --> tests/tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | assert_ok!(TestConn::build(Method::Head, "/", ()).on(&app), "", "content-length" => "19"); [INFO] [stdout] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/macros/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `assert_eq` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_ok` in this scope [INFO] [stdout] --> tests/tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_ok!(get("/").on(&app), "ok, this is my body", "content-length" => "19"); [INFO] [stdout] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/macros/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `assert_eq` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_response` in this scope [INFO] [stdout] --> tests/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | assert_response!(TestConn::build(Method::Head, "/not_found", ()).on(&app), 404, "", "content-length" => "23"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_response` in this scope [INFO] [stdout] --> tests/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | assert_response!(get("/not_found").on(&app), 404, "egads i don't have that", "content-length" => "23"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_not_handled` in this scope [INFO] [stdout] --> tests/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | assert_not_handled!(post("/").on(&app)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Conn` in this scope [INFO] [stdout] --> tests/tests.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | let app = (Head::new(), |conn: Conn| async move { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use trillium::Conn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/tests.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | (Method::Get, "/") => conn.ok("ok, this is my body"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use trillium::Method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/tests.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | (Method::Get, _) => conn.with_status(404).with_body("egads i don't have that"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use trillium::Method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-head` (test "tests") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_smol` [INFO] [stdout] --> examples/head.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | trillium_smol::run(( [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_smol` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - trillium_smol::run(( [INFO] [stdout] 2 + trillium_head::run(( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-head` (example "head") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c6440144b691bd3ca04623f5a6fc24565d863edd5cbbed8fe7292cd59e697e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6440144b691bd3ca04623f5a6fc24565d863edd5cbbed8fe7292cd59e697e48", kill_on_drop: false }` [INFO] [stdout] c6440144b691bd3ca04623f5a6fc24565d863edd5cbbed8fe7292cd59e697e48