[INFO] fetching crate axum-guard-router 0.2.1... [INFO] testing axum-guard-router-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate axum-guard-router 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate axum-guard-router 0.2.1 [INFO] finished tweaking crates.io crate axum-guard-router 0.2.1 [INFO] tweaked toml for crates.io crate axum-guard-router 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-guard-router 0.2.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 axum-guard-router 0.2.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a3e49b1d368d35bde65aec966047b3c6448b069258b6849d2c12903d33aecf59 [INFO] running `Command { std: "docker" "start" "-a" "a3e49b1d368d35bde65aec966047b3c6448b069258b6849d2c12903d33aecf59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3e49b1d368d35bde65aec966047b3c6448b069258b6849d2c12903d33aecf59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3e49b1d368d35bde65aec966047b3c6448b069258b6849d2c12903d33aecf59", kill_on_drop: false }` [INFO] [stdout] a3e49b1d368d35bde65aec966047b3c6448b069258b6849d2c12903d33aecf59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] aaa92e45367d935444011ddac2db5998d158b44a3a60fa1e33140ef0b412868f [INFO] running `Command { std: "docker" "start" "-a" "aaa92e45367d935444011ddac2db5998d158b44a3a60fa1e33140ef0b412868f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling axum-guard-router v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.78s [INFO] running `Command { std: "docker" "inspect" "aaa92e45367d935444011ddac2db5998d158b44a3a60fa1e33140ef0b412868f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa92e45367d935444011ddac2db5998d158b44a3a60fa1e33140ef0b412868f", kill_on_drop: false }` [INFO] [stdout] aaa92e45367d935444011ddac2db5998d158b44a3a60fa1e33140ef0b412868f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 82783da5ec52a90de4c44226d4a0f3830453f3fa0405120db7562496f1218bb6 [INFO] running `Command { std: "docker" "start" "-a" "82783da5ec52a90de4c44226d4a0f3830453f3fa0405120db7562496f1218bb6", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling axum-guard-router v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "82783da5ec52a90de4c44226d4a0f3830453f3fa0405120db7562496f1218bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82783da5ec52a90de4c44226d4a0f3830453f3fa0405120db7562496f1218bb6", kill_on_drop: false }` [INFO] [stdout] 82783da5ec52a90de4c44226d4a0f3830453f3fa0405120db7562496f1218bb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b0a6cdefbf13187f215d283757e82b53ef4fc4f979386752ed87b4c827c0ae88 [INFO] running `Command { std: "docker" "start" "-a" "b0a6cdefbf13187f215d283757e82b53ef4fc4f979386752ed87b4c827c0ae88", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_guard_router-217c2e2ef1f836fe) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test router::tests::test_guard_new ... ok [INFO] [stdout] test router::tests::test_guard_action ... ok [INFO] [stdout] test router::tests::test_guard_on_guard_403 ... ok [INFO] [stdout] test router::tests::test_guard_guard_on_roles_403 ... ok [INFO] [stdout] test router::tests::test_guard_route_forbidden ... ok [INFO] [stdout] test router::tests::test_guard_guard_nest ... ok [INFO] [stdout] test router::tests::test_guard_guard_pass ... ok [INFO] [stdout] test router::tests::test_guard_route_pass ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] Doc-tests axum_guard_router [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/action.rs - action::Action (line 81) ... ignored [INFO] [stdout] test src/router.rs - router::GuardRouter::action (line 66) ... ignored [INFO] [stdout] test src/router.rs - router::GuardRouter::build (line 198) ... ignored [INFO] [stdout] test src/router.rs - router::GuardRouter::new (line 23) ... ignored [INFO] [stdout] test src/router.rs - router::GuardRouter::roles (line 154) ... ignored [INFO] [stdout] test src/router.rs - router::GuardRouter::route (line 112) ... ignored [INFO] [stdout] test src/lib.rs - (line 18) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b0a6cdefbf13187f215d283757e82b53ef4fc4f979386752ed87b4c827c0ae88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a6cdefbf13187f215d283757e82b53ef4fc4f979386752ed87b4c827c0ae88", kill_on_drop: false }` [INFO] [stdout] b0a6cdefbf13187f215d283757e82b53ef4fc4f979386752ed87b4c827c0ae88