[INFO] fetching crate hessra-token 0.6.5... [INFO] testing hessra-token-0.6.5 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate hessra-token 0.6.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate hessra-token 0.6.5 [INFO] finished tweaking crates.io crate hessra-token 0.6.5 [INFO] tweaked toml for crates.io crate hessra-token 0.6.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hessra-token 0.6.5 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hessra-token 0.6.5 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.105 [INFO] [stderr] Downloaded prost-types v0.10.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.105 [INFO] [stderr] Downloaded spki v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Downloaded serdect v0.2.0 [INFO] [stderr] Downloaded rfc6979 v0.4.0 [INFO] [stderr] Downloaded proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Downloaded base16ct v0.2.0 [INFO] [stderr] Downloaded hessra-token-core v0.3.0 [INFO] [stderr] Downloaded proc-macro-error2 v2.0.1 [INFO] [stderr] Downloaded hessra-token-authz v0.6.0 [INFO] [stderr] Downloaded elliptic-curve v0.13.8 [INFO] [stderr] Downloaded js-sys v0.3.82 [INFO] [stderr] Downloaded crypto-bigint v0.5.5 [INFO] [stderr] Downloaded ed25519-dalek v2.2.0 [INFO] [stderr] Downloaded der v0.6.1 [INFO] [stderr] Downloaded p256 v0.13.2 [INFO] [stderr] Downloaded biscuit-auth v6.0.0 [INFO] [stderr] Downloaded prost-derive v0.10.1 [INFO] [stderr] Downloaded biscuit-parser v0.2.0 [INFO] [stderr] Downloaded ff v0.13.1 [INFO] [stderr] Downloaded group v0.13.0 [INFO] [stderr] Downloaded sec1 v0.7.3 [INFO] [stderr] Downloaded prost v0.10.4 [INFO] [stderr] Downloaded wasm-bindgen v0.2.105 [INFO] [stderr] Downloaded ecdsa v0.16.9 [INFO] [stderr] Downloaded primeorder v0.13.6 [INFO] [stderr] Downloaded pkcs8 v0.9.0 [INFO] [stderr] Downloaded biscuit-quote v0.3.0 [INFO] [stderr] Downloaded web-sys v0.3.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51fc2abacb1c3c110b7ec90f9b3b16af1b92f5558aba16266f4ff40fa8ecd766 [INFO] running `Command { std: "docker" "start" "-a" "51fc2abacb1c3c110b7ec90f9b3b16af1b92f5558aba16266f4ff40fa8ecd766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51fc2abacb1c3c110b7ec90f9b3b16af1b92f5558aba16266f4ff40fa8ecd766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51fc2abacb1c3c110b7ec90f9b3b16af1b92f5558aba16266f4ff40fa8ecd766", kill_on_drop: false }` [INFO] [stdout] 51fc2abacb1c3c110b7ec90f9b3b16af1b92f5558aba16266f4ff40fa8ecd766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e13f9eb8576bbbdd3e34dd96970ec84747b2ae8d7e1f98b6cceec9c3edf49dd3 [INFO] running `Command { std: "docker" "start" "-a" "e13f9eb8576bbbdd3e34dd96970ec84747b2ae8d7e1f98b6cceec9c3edf49dd3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling biscuit-auth v6.0.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling biscuit-parser v0.2.0 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling biscuit-quote v0.3.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling hessra-token-core v0.3.0 [INFO] [stderr] Compiling hessra-token-authz v0.6.0 [INFO] [stderr] Compiling hessra-token v0.6.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "e13f9eb8576bbbdd3e34dd96970ec84747b2ae8d7e1f98b6cceec9c3edf49dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e13f9eb8576bbbdd3e34dd96970ec84747b2ae8d7e1f98b6cceec9c3edf49dd3", kill_on_drop: false }` [INFO] [stdout] e13f9eb8576bbbdd3e34dd96970ec84747b2ae8d7e1f98b6cceec9c3edf49dd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b73dd4e9f2155570eb5823749573ed37165396d0cc5a7b99d859ca5d97d8c7f8 [INFO] running `Command { std: "docker" "start" "-a" "b73dd4e9f2155570eb5823749573ed37165396d0cc5a7b99d859ca5d97d8c7f8", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling hessra-token v0.6.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "b73dd4e9f2155570eb5823749573ed37165396d0cc5a7b99d859ca5d97d8c7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73dd4e9f2155570eb5823749573ed37165396d0cc5a7b99d859ca5d97d8c7f8", kill_on_drop: false }` [INFO] [stdout] b73dd4e9f2155570eb5823749573ed37165396d0cc5a7b99d859ca5d97d8c7f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 62ff19c0766b18984cce275b4361d448193af7103ad71c39a7e6c56218fad349 [INFO] running `Command { std: "docker" "start" "-a" "62ff19c0766b18984cce275b4361d448193af7103ad71c39a7e6c56218fad349", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hessra_token-49414da02a1dbda1) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_base64_utils ... ok [INFO] [stdout] test tests::test_service_chain_tokens_from_json ... ok [INFO] [stdout] test tests::test_verify_biscuit_local ... ok [INFO] [stdout] test tests::test_verify_token_string ... ok [INFO] [stdout] test tests::test_verify_service_chain_biscuit ... ok [INFO] [stdout] test tests::test_add_service_node_attestation ... ok [INFO] [stdout] test tests::test_token_verification_from_json ... FAILED [INFO] [stdout] test tests::test_multi_party_token_verification_lifecycle ... ok [INFO] [stdout] test tests::test_multi_party_token_with_multiple_parties ... ok [INFO] [stdout] test tests::test_service_chain_lifecycle ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_token_verification_from_json stdout ---- [INFO] [stdout] Testing token 'argo-cli0_access_resource1': Invalid token for argo-cli1 to access resource1. This token was created for a different subject (argo-cli0). [INFO] [stdout] Token blocks: Biscuit { [INFO] [stdout] symbols: ["uri:urn:test:argo-cli0", "resource1", "subject", "sub", "res", "op"] [INFO] [stdout] public keys: [] [INFO] [stdout] authority: Block { [INFO] [stdout] symbols: ["uri:urn:test:argo-cli0", "resource1", "subject", "sub", "res", "op"] [INFO] [stdout] version: 3 [INFO] [stdout] context: "" [INFO] [stdout] external key: [INFO] [stdout] public keys: [] [INFO] [stdout] scopes: [] [INFO] [stdout] facts: [ [INFO] [stdout] right("uri:urn:test:argo-cli0", "resource1", "read") [INFO] [stdout] ] [INFO] [stdout] rules: [] [INFO] [stdout] checks: [ [INFO] [stdout] check if subject($sub), resource($res), operation($op), right($sub, $res, $op), [INFO] [stdout] check if time($time), $time < 4915552192 [INFO] [stdout] ] [INFO] [stdout] } [INFO] [stdout] blocks: [ [INFO] [stdout] [INFO] [stdout] ] [INFO] [stdout] } [INFO] [stdout] ✓ Token 'argo-cli0_access_resource1' - Verification: PASSED [INFO] [stdout] Testing token 'argo-cli1_access_resource2': Valid token for argo-cli1 to access resource2 [INFO] [stdout] Token blocks: Biscuit { [INFO] [stdout] symbols: ["uri:urn:test:argo-cli1", "resource2", "subject", "sub", "res", "op"] [INFO] [stdout] public keys: [] [INFO] [stdout] authority: Block { [INFO] [stdout] symbols: ["uri:urn:test:argo-cli1", "resource2", "subject", "sub", "res", "op"] [INFO] [stdout] version: 3 [INFO] [stdout] context: "" [INFO] [stdout] external key: [INFO] [stdout] public keys: [] [INFO] [stdout] scopes: [] [INFO] [stdout] facts: [ [INFO] [stdout] right("uri:urn:test:argo-cli1", "resource2", "read") [INFO] [stdout] ] [INFO] [stdout] rules: [] [INFO] [stdout] checks: [ [INFO] [stdout] check if subject($sub), resource($res), operation($op), right($sub, $res, $op), [INFO] [stdout] check if time($time), $time < 4915552200 [INFO] [stdout] ] [INFO] [stdout] } [INFO] [stdout] blocks: [ [INFO] [stdout] [INFO] [stdout] ] [INFO] [stdout] } [INFO] [stdout] ✓ Token 'argo-cli1_access_resource2' - Verification: PASSED [INFO] [stdout] Testing token 'argo-cli1_access_resource3': Valid token for argo-cli1 to access resource3 [INFO] [stdout] Token blocks: Biscuit { [INFO] [stdout] symbols: ["uri:urn:test:argo-cli1", "resource3", "subject", "sub", "res", "op"] [INFO] [stdout] public keys: [] [INFO] [stdout] authority: Block { [INFO] [stdout] symbols: ["uri:urn:test:argo-cli1", "resource3", "subject", "sub", "res", "op"] [INFO] [stdout] version: 3 [INFO] [stdout] context: "" [INFO] [stdout] external key: [INFO] [stdout] public keys: [] [INFO] [stdout] scopes: [] [INFO] [stdout] facts: [ [INFO] [stdout] right("uri:urn:test:argo-cli1", "resource3", "read") [INFO] [stdout] ] [INFO] [stdout] rules: [] [INFO] [stdout] checks: [ [INFO] [stdout] check if subject($sub), resource($res), operation($op), right($sub, $res, $op), [INFO] [stdout] check if time($time), $time < 4915552200 [INFO] [stdout] ] [INFO] [stdout] } [INFO] [stdout] blocks: [ [INFO] [stdout] [INFO] [stdout] ] [INFO] [stdout] } [INFO] [stdout] ✓ Token 'argo-cli1_access_resource3' - Verification: PASSED [INFO] [stdout] Testing token 'argo-cli1_access_resource4': Valid token for argo-cli1 to access resource4. This is a service chain token but we are acting as the first node in the chain. [INFO] [stdout] Token blocks: Biscuit { [INFO] [stdout] symbols: ["uri:urn:test:argo-cli1", "resource4", "s", "edge_function", "subject", "sub", "res", "op"] [INFO] [stdout] public keys: ["9c3e8f10e0e8eeef1db086915a15a590e7d838683841719b5e70ddab2115b826"] [INFO] [stdout] authority: Block { [INFO] [stdout] symbols: ["uri:urn:test:argo-cli1", "resource4", "s", "edge_function", "subject", "sub", "res", "op"] [INFO] [stdout] version: 4 [INFO] [stdout] context: "" [INFO] [stdout] external key: [INFO] [stdout] public keys: ["9c3e8f10e0e8eeef1db086915a15a590e7d838683841719b5e70ddab2115b826"] [INFO] [stdout] scopes: [] [INFO] [stdout] facts: [ [INFO] [stdout] right("uri:urn:test:argo-cli1", "resource4", "read") [INFO] [stdout] ] [INFO] [stdout] rules: [ [INFO] [stdout] node($s, "edge_function") <- service($s) trusting ed25519/9c3e8f10e0e8eeef1db086915a15a590e7d838683841719b5e70ddab2115b826 [INFO] [stdout] ] [INFO] [stdout] checks: [ [INFO] [stdout] check if subject($sub), resource($res), operation($op), right($sub, $res, $op), [INFO] [stdout] check if time($time), $time < 4915552200 [INFO] [stdout] ] [INFO] [stdout] } [INFO] [stdout] blocks: [ [INFO] [stdout] [INFO] [stdout] ] [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] thread 'tests::test_token_verification_from_json' (22) panicked at src/lib.rs:302:13: [INFO] [stdout] assertion `left == right` failed: Token 'argo-cli1_access_resource4' verification resulted in false, expected: true - Valid token for argo-cli1 to access resource4. This is a service chain token but we are acting as the first node in the chain. [INFO] [stdout] left: false [INFO] [stdout] right: true [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5aa3e5e9037a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5aa3e5e9037a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5aa3e5e9037a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5aa3e5e9037a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5aa3e5ea567a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5aa3e5ea567a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x5aa3e5e94cb2 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5aa3e5e94cb2 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5aa3e5e6f0bf - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5aa3e5e6f0bf - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5aa3e5e88409 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5aa3e590c6ec - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5aa3e590c6ec - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5aa3e5e885c2 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x5aa3e5e885c2 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5aa3e5e6f178 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5aa3e5e64209 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5aa3e5e6fe8d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5aa3e5ea5ebc - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5aa3e5ea5dd3 - core[fa0eadad68403074]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:434:23 [INFO] [stdout] 20: 0x5aa3e58eef9e - core[fa0eadad68403074]::panicking::assert_failed:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5aa3e58f8903 - hessra_token[8c592171c4bb3b99]::tests::test_token_verification_from_json [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:302:13 [INFO] [stdout] 22: 0x5aa3e58ef657 - hessra_token[8c592171c4bb3b99]::tests::test_token_verification_from_json::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:243:43 [INFO] [stdout] 23: 0x5aa3e5900626 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5aa3e59007cb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5aa3e59007cb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5aa3e590d1bb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5aa3e590d1bb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5aa3e590d1bb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5aa3e590d1bb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5aa3e590d1bb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5aa3e590d1bb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5aa3e590d1bb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5aa3e5907614 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5aa3e5907614 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5aa3e590fdc2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5aa3e590fdc2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5aa3e590fdc2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5aa3e590fdc2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5aa3e590fdc2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5aa3e590fdc2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5aa3e590fdc2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5aa3e5e8f8ff - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x5aa3e5e8f8ff - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x710bae4ceaa4 - [INFO] [stdout] 45: 0x710bae55ba64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_token_verification_from_json [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.98s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "62ff19c0766b18984cce275b4361d448193af7103ad71c39a7e6c56218fad349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ff19c0766b18984cce275b4361d448193af7103ad71c39a7e6c56218fad349", kill_on_drop: false }` [INFO] [stdout] 62ff19c0766b18984cce275b4361d448193af7103ad71c39a7e6c56218fad349