[INFO] fetching crate cerbos 0.2.0... [INFO] testing cerbos-0.2.0 against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate cerbos 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate cerbos 0.2.0 on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cerbos 0.2.0 [INFO] finished tweaking crates.io crate cerbos 0.2.0 [INFO] tweaked toml for crates.io crate cerbos 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate cerbos 0.2.0 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e56156874ae2cbd110d484f59b6cac207759f62f8cb783304e502cec1f39113f [INFO] running `Command { std: "docker" "start" "-a" "e56156874ae2cbd110d484f59b6cac207759f62f8cb783304e502cec1f39113f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e56156874ae2cbd110d484f59b6cac207759f62f8cb783304e502cec1f39113f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56156874ae2cbd110d484f59b6cac207759f62f8cb783304e502cec1f39113f", kill_on_drop: false }` [INFO] [stdout] e56156874ae2cbd110d484f59b6cac207759f62f8cb783304e502cec1f39113f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae08234058fe2d4aae149b55973068679aa8d9ce517f7a888ac2344121236f04 [INFO] running `Command { std: "docker" "start" "-a" "ae08234058fe2d4aae149b55973068679aa8d9ce517f7a888ac2344121236f04", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling prettyplease v0.1.16 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling rustls-pemfile v1.0.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling axum-core v0.2.7 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling cerbos v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling bollard-stubs v1.41.0 [INFO] [stderr] Compiling axum v0.5.13 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Compiling testcontainers v0.13.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 05s [INFO] running `Command { std: "docker" "inspect" "ae08234058fe2d4aae149b55973068679aa8d9ce517f7a888ac2344121236f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae08234058fe2d4aae149b55973068679aa8d9ce517f7a888ac2344121236f04", kill_on_drop: false }` [INFO] [stdout] ae08234058fe2d4aae149b55973068679aa8d9ce517f7a888ac2344121236f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad01f07caafc118a1489fbfab49cad7685f1cefb8a8f03e78d8208275d229c6e [INFO] running `Command { std: "docker" "start" "-a" "ad01f07caafc118a1489fbfab49cad7685f1cefb8a8f03e78d8208275d229c6e", kill_on_drop: false }` [INFO] [stderr] Compiling cerbos v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 26.89s [INFO] running `Command { std: "docker" "inspect" "ad01f07caafc118a1489fbfab49cad7685f1cefb8a8f03e78d8208275d229c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad01f07caafc118a1489fbfab49cad7685f1cefb8a8f03e78d8208275d229c6e", kill_on_drop: false }` [INFO] [stdout] ad01f07caafc118a1489fbfab49cad7685f1cefb8a8f03e78d8208275d229c6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b1933ed2d751774d7a7e6c6e0cf6de865c8fb04caa719015c88c40c65a8e2015 [INFO] running `Command { std: "docker" "start" "-a" "b1933ed2d751774d7a7e6c6e0cf6de865c8fb04caa719015c88c40c65a8e2015", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cerbos-41152e827762a6b5) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-de604eb46dca96ed) [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] [stdout] [INFO] [stderr] Running tests/sdk_test.rs (/opt/rustwide/target/debug/deps/sdk_test-7669dfcb63e5b31c) [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test check_resources_tls ... ignored [INFO] [stdout] test is_allowed_tls ... ignored [INFO] [stdout] test plan_resources_tls ... ignored [INFO] [stdout] test plan_resources_plaintext ... FAILED [INFO] [stdout] test check_resources_plaintext ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test sdk_test` [INFO] [stdout] test is_allowed_plaintext ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- plan_resources_plaintext stdout ---- [INFO] [stdout] Error: PlanResources call failed [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: status: Unavailable, message: "error trying to connect: tcp connect error: Cannot assign requested address (os error 99)", details: [], metadata: MetadataMap { headers: {} } [INFO] [stdout] 1: transport error [INFO] [stdout] 2: error trying to connect: tcp connect error: Cannot assign requested address (os error 99) [INFO] [stdout] 3: tcp connect error: Cannot assign requested address (os error 99) [INFO] [stdout] 4: Cannot assign requested address (os error 99) [INFO] [stdout] [INFO] [stdout] ---- check_resources_plaintext stdout ---- [INFO] [stdout] Error: CheckResources call failed [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: status: Unavailable, message: "error trying to connect: tcp connect error: Cannot assign requested address (os error 99)", details: [], metadata: MetadataMap { headers: {} } [INFO] [stdout] 1: transport error [INFO] [stdout] 2: error trying to connect: tcp connect error: Cannot assign requested address (os error 99) [INFO] [stdout] 3: tcp connect error: Cannot assign requested address (os error 99) [INFO] [stdout] 4: Cannot assign requested address (os error 99) [INFO] [stdout] [INFO] [stdout] ---- is_allowed_plaintext stdout ---- [INFO] [stdout] Error: CheckResources call failed [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: status: Unavailable, message: "error trying to connect: tcp connect error: Cannot assign requested address (os error 99)", details: [], metadata: MetadataMap { headers: {} } [INFO] [stdout] 1: transport error [INFO] [stdout] 2: error trying to connect: tcp connect error: Cannot assign requested address (os error 99) [INFO] [stdout] 3: tcp connect error: Cannot assign requested address (os error 99) [INFO] [stdout] 4: Cannot assign requested address (os error 99) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] check_resources_plaintext [INFO] [stdout] is_allowed_plaintext [INFO] [stdout] plan_resources_plaintext [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b1933ed2d751774d7a7e6c6e0cf6de865c8fb04caa719015c88c40c65a8e2015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1933ed2d751774d7a7e6c6e0cf6de865c8fb04caa719015c88c40c65a8e2015", kill_on_drop: false }` [INFO] [stdout] b1933ed2d751774d7a7e6c6e0cf6de865c8fb04caa719015c88c40c65a8e2015