[INFO] fetching crate rocket_jwt_auth 0.1.0...
[INFO] testing rocket_jwt_auth-0.1.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate rocket_jwt_auth 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate rocket_jwt_auth 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate rocket_jwt_auth 0.1.0
[INFO] tweaked toml for crates.io crate rocket_jwt_auth 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rocket_jwt_auth 0.1.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rocket_jwt_auth 0.1.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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.21
[INFO] [stderr]   Downloaded serde_json v1.0.109
[INFO] [stderr]   Downloaded ref-cast v1.0.21
[INFO] [stderr]   Downloaded async-trait v0.1.76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c
[INFO] running `Command { std: "docker" "start" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling ref-cast v1.0.21
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling indexmap v2.11.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling serde_json v1.0.109
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling async-trait v0.1.76
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.21
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling simple_asn1 v0.6.4
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling rocket_jwt_auth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 55s
[INFO] running `Command { std: "docker" "inspect" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling rocket_jwt_auth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 12.19s
[INFO] running `Command { std: "docker" "inspect" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/rocket_jwt_auth-38529944c4814aba)
[INFO] [stderr]      Running tests/jwt_auth_test.rs (/opt/rustwide/target/release/deps/jwt_auth_test-1f29727b388fef33)
[INFO] [stdout] 
[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 8 tests
[INFO] [stdout] Rocket has launched locally
[INFO] [stdout] Rocket has launched locally
[INFO] [stdout]    >> Request guard `Token` failed: InvalidToken("InvalidSignature").
[INFO] [stdout]    >> No 401 catcher registered. Using Rocket default.
[INFO] [stdout] Rocket has launched locally
[INFO] [stdout]    >> Request guard `Token` failed: MissingHeader.
[INFO] [stdout]    >> No 401 catcher registered. Using Rocket default.
[INFO] [stdout] Rocket has launched locally
[INFO] [stdout]    >> Request guard `Token` failed: InvalidToken("InvalidSignature").
[INFO] [stdout]    >> No 401 catcher registered. Using Rocket default.
[INFO] [stdout] Rocket has launched locally
[INFO] [stdout]    >> Request guard `Token` failed: InvalidFormat.
[INFO] [stdout]    >> No 401 catcher registered. Using Rocket default.
[INFO] [stdout] Rocket has launched locally
[INFO] [stdout]    >> Request guard `Token` failed: InvalidFormat.
[INFO] [stdout]    >> No 401 catcher registered. Using Rocket default.
[INFO] [stdout] test test_missing_authorization_header_returns_401 ... ok
[INFO] [stdout] Rocket has launched locally
[INFO] [stdout]    >> Request guard `Token` failed: InvalidToken("Base64 error: Invalid last symbol 116, offset 2.").
[INFO] [stdout]    >> No 401 catcher registered. Using Rocket default.
[INFO] [stdout] Rocket has launched locally
[INFO] [stdout]    >> Request guard `Token` failed: Expired.
[INFO] [stdout]    >> No 401 catcher registered. Using Rocket default.
[INFO] [stdout] test test_malformed_token_returns_401 ... ok
[INFO] [stdout] test test_expired_token_returns_401 ... ok
[INFO] [stdout] test test_invalid_signature_returns_401 ... ok
[INFO] [stdout] test test_invalid_format_not_bearer_returns_401 ... ok
[INFO] [stdout] test test_bearer_prefix_is_case_sensitive ... ok
[INFO] [stdout] test test_valid_token_returns_200 ... ok
[INFO] [stdout] test test_missing_secret_returns_500 ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--test jwt_auth_test`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_missing_secret_returns_500 stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_missing_secret_returns_500' (2581) panicked at tests/jwt_auth_test.rs:156:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Status { code: 401 }
[INFO] [stdout]  right: Status { code: 500 }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e54a788cde1 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5e54a78a464a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x5e54a78914ac - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5e54a7868166 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5e54a7884df9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x5e54a76b39e0 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5e54a7884fb2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5e54a7868212 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5e54a7860b99 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5e54a786902d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x5e54a78a4dac - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5e54a78a4cc3 - core[df12db4294e9bfd3]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x5e54a7697710 - core[df12db4294e9bfd3]::panicking::assert_failed::<rocket_http[8f822d63d9aa903b]::status::Status, rocket_http[8f822d63d9aa903b]::status::Status>
[INFO] [stdout]   13:     0x5e54a761ce00 - <tokio[5320816920a8376c]::runtime::park::CachedParkThread>::block_on::<jwt_auth_test[3ee00aaf7da23a1]::test_missing_secret_returns_500::{closure#0}>
[INFO] [stdout]   14:     0x5e54a76a37ce - tokio[5320816920a8376c]::runtime::context::runtime::enter_runtime::<<tokio[5320816920a8376c]::runtime::scheduler::multi_thread::MultiThread>::block_on<jwt_auth_test[3ee00aaf7da23a1]::test_missing_secret_returns_500::{closure#0}>::{closure#0}, ()>
[INFO] [stdout]   15:     0x5e54a7690b0b - <tokio[5320816920a8376c]::runtime::runtime::Runtime>::block_on::<jwt_auth_test[3ee00aaf7da23a1]::test_missing_secret_returns_500::{closure#0}>
[INFO] [stdout]   16:     0x5e54a767789c - rocket[76b44c1280a9391c]::async_run::<jwt_auth_test[3ee00aaf7da23a1]::test_missing_secret_returns_500::{closure#0}, ()>
[INFO] [stdout]   17:     0x5e54a7699d76 - <jwt_auth_test[3ee00aaf7da23a1]::test_missing_secret_returns_500::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   18:     0x5e54a76a6ccb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   19:     0x5e54a76b4335 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   20:     0x5e54a76adbf4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   21:     0x5e54a76b7492 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   22:     0x5e54a788c319 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   23:     0x792d48282dfa - <unknown>
[INFO] [stdout]   24:     0x792d483163d4 - clone
[INFO] [stdout]   25:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_missing_secret_returns_500
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c", kill_on_drop: false }`
[INFO] [stdout] 4b8fd11679d8c1a5f60db85e45f7c8e0fb59cc26a02a9bfb0c47da9e2028bb0c
