[INFO] cloning repository https://github.com/tomoima525/auth0-appsync-custom-authorizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomoima525/auth0-appsync-custom-authorizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomoima525%2Fauth0-appsync-custom-authorizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomoima525%2Fauth0-appsync-custom-authorizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98417de28908626978f330d43551a901afcc0fa2 [INFO] testing tomoima525/auth0-appsync-custom-authorizer against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomoima525%2Fauth0-appsync-custom-authorizer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomoima525/auth0-appsync-custom-authorizer on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomoima525/auth0-appsync-custom-authorizer [INFO] finished tweaking git repo https://github.com/tomoima525/auth0-appsync-custom-authorizer [INFO] tweaked toml for git repo https://github.com/tomoima525/auth0-appsync-custom-authorizer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tomoima525/auth0-appsync-custom-authorizer 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-graphql-value v4.0.13 [INFO] [stderr] Downloaded async-graphql-derive v4.0.13 [INFO] [stderr] Downloaded async-graphql v4.0.13 [INFO] [stderr] Downloaded openssl-src v111.22.0+1.1.1q [INFO] [stderr] Downloaded async-graphql-parser v4.0.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdaf72f0bbcd1fdacc61b539b14c8cfd7fcb2eea2f3035e544dd05d793145a11 [INFO] running `Command { std: "docker" "start" "-a" "cdaf72f0bbcd1fdacc61b539b14c8cfd7fcb2eea2f3035e544dd05d793145a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdaf72f0bbcd1fdacc61b539b14c8cfd7fcb2eea2f3035e544dd05d793145a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdaf72f0bbcd1fdacc61b539b14c8cfd7fcb2eea2f3035e544dd05d793145a11", kill_on_drop: false }` [INFO] [stdout] cdaf72f0bbcd1fdacc61b539b14c8cfd7fcb2eea2f3035e544dd05d793145a11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dfb34fd42a7ce4294bf47ce413926fd7ac7baca1d04449a910fe0aa043d7712 [INFO] running `Command { std: "docker" "start" "-a" "7dfb34fd42a7ce4294bf47ce413926fd7ac7baca1d04449a910fe0aa043d7712", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling openssl-src v111.22.0+1.1.1q [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling multer v2.0.4 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pem v1.1.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling pest v2.3.1 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling async-graphql-value v4.0.13 [INFO] [stderr] Compiling jsonwebtoken v8.1.1 [INFO] [stderr] Compiling async-graphql-parser v4.0.13 [INFO] [stderr] Compiling async-graphql-derive v4.0.13 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-stream v0.1.10 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling async-graphql v4.0.13 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling lambda_runtime_api_client v0.6.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling lambda_runtime v0.6.1 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling helpers v0.1.0 (/opt/rustwide/workdir/fn/helpers) [INFO] [stderr] Compiling authorizer v0.1.0 (/opt/rustwide/workdir/fn/authorizer) [INFO] [stdout] warning: field `request_context` is never read [INFO] [stdout] --> fn/authorizer/src/types.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AppSyncAuthorizerEvent { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 28 | pub authorization_token: String, [INFO] [stdout] 29 | pub request_context: RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppSyncAuthorizerEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling starwars v0.1.0 (/opt/rustwide/workdir/models/starwars) [INFO] [stderr] Compiling gql v0.1.0 (/opt/rustwide/workdir/gql) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "7dfb34fd42a7ce4294bf47ce413926fd7ac7baca1d04449a910fe0aa043d7712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dfb34fd42a7ce4294bf47ce413926fd7ac7baca1d04449a910fe0aa043d7712", kill_on_drop: false }` [INFO] [stdout] 7dfb34fd42a7ce4294bf47ce413926fd7ac7baca1d04449a910fe0aa043d7712 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1da0e31e621e944cfe3692fd08228f3bd3a4c85ba407b6fdee8dfbf96d133da0 [INFO] running `Command { std: "docker" "start" "-a" "1da0e31e621e944cfe3692fd08228f3bd3a4c85ba407b6fdee8dfbf96d133da0", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling starwars v0.1.0 (/opt/rustwide/workdir/models/starwars) [INFO] [stderr] Compiling gql v0.1.0 (/opt/rustwide/workdir/gql) [INFO] [stderr] Compiling helpers v0.1.0 (/opt/rustwide/workdir/fn/helpers) [INFO] [stderr] Compiling authorizer v0.1.0 (/opt/rustwide/workdir/fn/authorizer) [INFO] [stdout] warning: field `request_context` is never read [INFO] [stdout] --> fn/authorizer/src/types.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AppSyncAuthorizerEvent { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 28 | pub authorization_token: String, [INFO] [stdout] 29 | pub request_context: RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppSyncAuthorizerEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "1da0e31e621e944cfe3692fd08228f3bd3a4c85ba407b6fdee8dfbf96d133da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da0e31e621e944cfe3692fd08228f3bd3a4c85ba407b6fdee8dfbf96d133da0", kill_on_drop: false }` [INFO] [stdout] 1da0e31e621e944cfe3692fd08228f3bd3a4c85ba407b6fdee8dfbf96d133da0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c105a4ff4c0ca5ac1fbaf44c570b848a506ccbba7c2b25c8c83a349b1a6ea4d [INFO] running `Command { std: "docker" "start" "-a" "0c105a4ff4c0ca5ac1fbaf44c570b848a506ccbba7c2b25c8c83a349b1a6ea4d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: field `request_context` is never read [INFO] [stderr] --> fn/authorizer/src/types.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct AppSyncAuthorizerEvent { [INFO] [stderr] | ---------------------- field in this struct [INFO] [stderr] 28 | pub authorization_token: String, [INFO] [stderr] 29 | pub request_context: RequestContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppSyncAuthorizerEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `authorizer` (bin "authorizer" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/authorizer-319c7af55e2aad1d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test utils::tests::test_should_return_token ... ok [INFO] [stdout] test utils::tests::test_should_return_none ... ok [INFO] [stdout] test test::test_handler_should_return_authorized_response ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_handler_should_return_authorized_response stdout ---- [INFO] [stdout] token Some("token123") [INFO] [stdout] thread 'test::test_handler_should_return_authorized_response' panicked at fn/authorizer/src/main.rs:27:43: [INFO] [stdout] JWKS_URI env not set: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5726228ccbfa - std::backtrace_rs::backtrace::libunwind::trace::h45f575fdcec9cdc1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5726228ccbfa - std::backtrace_rs::backtrace::trace_unsynchronized::heed7aaaa28209ac3 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5726228ccbfa - std::sys::backtrace::_print_fmt::h47d1e3547844619c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5726228ccbfa - ::fmt::h6c37de0361fa7462 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5726228f7703 - core::fmt::rt::Argument::fmt::h6606d9b5304941e1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5726228f7703 - core::fmt::write::hf77fe0583268bf67 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x5726228c8cc3 - std::io::Write::write_fmt::h672ff980e46892ac [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5726228cca42 - std::sys::backtrace::BacktraceLock::print::hce84519ec0e7588e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5726228ce07e - std::panicking::default_hook::{{closure}}::h6e0433c33d1ed12b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x5726228cde87 - std::panicking::default_hook::h19d4e9e8d7fba9e2 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:308:9 [INFO] [stdout] 10: 0x572622084c18 - as core::ops::function::Fn>::call::hd2aa5731f018e269 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x572622084c18 - test::test_main::{{closure}}::h1ae6fb8f80aa49b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5726228ce898 - as core::ops::function::Fn>::call::h4f2af756974b90d5 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5726228ce898 - std::panicking::rust_panic_with_hook::hd21771b96ea64164 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:825:13 [INFO] [stdout] 14: 0x5726228ce54a - std::panicking::begin_panic_handler::{{closure}}::h2e177f984fc72cbb [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:690:13 [INFO] [stdout] 15: 0x5726228cd0d9 - std::sys::backtrace::__rust_end_short_backtrace::ha7f0445003f40b38 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5726228ce1dd - rust_begin_unwind [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:681:5 [INFO] [stdout] 17: 0x5726228f5050 - core::panicking::panic_fmt::h85741df7bc4071b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5726228f54c6 - core::result::unwrap_failed::h82c95f2b5d372a3c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/result.rs:1699:5 [INFO] [stdout] 19: 0x572622660b36 - core::result::Result::expect::he8226e8893c74e36 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/result.rs:1061:23 [INFO] [stdout] 20: 0x57262203f667 - authorizer::function_handler::{{closure}}::ha6b7912ce8970010 [INFO] [stdout] at /opt/rustwide/workdir/fn/authorizer/src/main.rs:27:22 [INFO] [stdout] 21: 0x57262202970f - authorizer::test::test_handler_should_return_authorized_response::{{closure}}::hd88797984f197060 [INFO] [stdout] at /opt/rustwide/workdir/fn/authorizer/src/main.rs:90:31 [INFO] [stdout] 22: 0x57262203d95d - as core::future::future::Future>::poll::h7ddad817f84edec7 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x572622027b3f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h7e9fa53aef9486c2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/scheduler/current_thread.rs:525:48 [INFO] [stdout] 24: 0x572622044093 - tokio::coop::with_budget::{{closure}}::hda358162b51192c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/coop.rs:102:9 [INFO] [stdout] 25: 0x57262203b745 - std::thread::local::LocalKey::try_with::ha8aae337050040bd [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/local.rs:308:12 [INFO] [stdout] 26: 0x57262203b40a - std::thread::local::LocalKey::with::hd21f65c91cfaf2e7 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/local.rs:272:9 [INFO] [stdout] 27: 0x572622027ac9 - tokio::coop::with_budget::h49b0b6901b94816e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/coop.rs:95:5 [INFO] [stdout] 28: 0x572622027ac9 - tokio::coop::budget::hbb105c6c8efd275f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/coop.rs:72:5 [INFO] [stdout] 29: 0x572622027ac9 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h315ff088191241ba [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/scheduler/current_thread.rs:525:25 [INFO] [stdout] 30: 0x572622026760 - tokio::runtime::scheduler::current_thread::Context::enter::h7fa325efc0c6696c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/scheduler/current_thread.rs:349:19 [INFO] [stdout] 31: 0x5726220273df - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::heb2193790b114937 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/scheduler/current_thread.rs:524:36 [INFO] [stdout] 32: 0x572622027164 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h71e9bf39b598071c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/scheduler/current_thread.rs:595:57 [INFO] [stdout] 33: 0x572622025ed3 - tokio::macros::scoped_tls::ScopedKey::set::h8442c6738f686ce4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 34: 0x572622026f0f - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9bd67ce18b01d7c8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/scheduler/current_thread.rs:595:27 [INFO] [stdout] 35: 0x572622027182 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h6cbdf794177aaf28 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/scheduler/current_thread.rs:515:19 [INFO] [stdout] 36: 0x5726220261e8 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hae187af3685f4639 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/scheduler/current_thread.rs:161:24 [INFO] [stdout] 37: 0x57262204434c - tokio::runtime::Runtime::block_on::h55acdad5c828d9db [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.21.1/src/runtime/mod.rs:490:46 [INFO] [stdout] 38: 0x57262202934e - authorizer::test::test_handler_should_return_authorized_response::hed1b44b92f21a1d5 [INFO] [stdout] at /opt/rustwide/workdir/fn/authorizer/src/main.rs:93:9 [INFO] [stdout] 39: 0x572622029207 - authorizer::test::test_handler_should_return_authorized_response::{{closure}}::hcb4a93a6582285c0 [INFO] [stdout] at /opt/rustwide/workdir/fn/authorizer/src/main.rs:79:62 [INFO] [stdout] 40: 0x572622021cd6 - core::ops::function::FnOnce::call_once::h5e2a4ac6b225b5cb [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x57262208985b - core::ops::function::FnOnce::call_once::hc1e06e2a5640370a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x57262208985b - test::__rust_begin_short_backtrace::heb5aa654e2797f5b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:632:18 [INFO] [stdout] 43: 0x572622089169 - test::run_test_in_process::{{closure}}::h1329474a96646ad1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:60 [INFO] [stdout] 44: 0x572622089169 - as core::ops::function::FnOnce<()>>::call_once::hc87a7a8694e6d844 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 45: 0x572622089169 - std::panicking::try::do_call::h3b8456af8bacf88f [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 46: 0x572622089169 - std::panicking::try::hc177f95c6592cea1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 47: 0x572622089169 - std::panic::catch_unwind::h847b2adf17f7da7a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 48: 0x572622089169 - test::run_test_in_process::h824f7775d92af51e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:27 [INFO] [stdout] 49: 0x572622089169 - test::run_test::{{closure}}::hdfaf20d18f7af8f6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:576:43 [INFO] [stdout] 50: 0x57262204bf0a - test::run_test::{{closure}}::he83661a0a1c97403 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:606:41 [INFO] [stdout] 51: 0x57262204bf0a - std::sys::backtrace::__rust_begin_short_backtrace::hd3a78fd401685e9b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 52: 0x57262204f946 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h78d6a457dee8dc60 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 53: 0x57262204f946 - as core::ops::function::FnOnce<()>>::call_once::hc4069b3cc6600bde [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 54: 0x57262204f946 - std::panicking::try::do_call::h0dde49ad0af85fa8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 55: 0x57262204f946 - std::panicking::try::h918d0d3a7e94727d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 56: 0x57262204f946 - std::panic::catch_unwind::h7016984cdcdd8b9e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 57: 0x57262204f946 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2766f51195a4a65d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 58: 0x57262204f946 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd6e39e4ea63a011 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 59: 0x5726228d2bab - as core::ops::function::FnOnce>::call_once::h34bec2a4cdedc102 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 60: 0x5726228d2bab - as core::ops::function::FnOnce>::call_once::ha62c0d1861fdf293 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 61: 0x5726228d2bab - std::sys::pal::unix::thread::Thread::new::thread_start::h71fe57097907b3f8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 62: 0x7386e9ba3ac3 - [INFO] [stdout] 63: 0x7386e9c34a04 - clone [INFO] [stdout] 64: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_handler_should_return_authorized_response [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p authorizer --bin authorizer` [INFO] running `Command { std: "docker" "inspect" "0c105a4ff4c0ca5ac1fbaf44c570b848a506ccbba7c2b25c8c83a349b1a6ea4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c105a4ff4c0ca5ac1fbaf44c570b848a506ccbba7c2b25c8c83a349b1a6ea4d", kill_on_drop: false }` [INFO] [stdout] 0c105a4ff4c0ca5ac1fbaf44c570b848a506ccbba7c2b25c8c83a349b1a6ea4d