[INFO] fetching crate jsonwebtoken 8.0.0-beta.2... [INFO] testing jsonwebtoken-8.0.0-beta.2 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate jsonwebtoken 8.0.0-beta.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate jsonwebtoken 8.0.0-beta.2 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonwebtoken 8.0.0-beta.2 [INFO] finished tweaking crates.io crate jsonwebtoken 8.0.0-beta.2 [INFO] tweaked toml for crates.io crate jsonwebtoken 8.0.0-beta.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate jsonwebtoken 8.0.0-beta.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a21ced9a42f1e0eed13bbdbdee4d5917a06235d4f29373199728585fa9a7eef7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a21ced9a42f1e0eed13bbdbdee4d5917a06235d4f29373199728585fa9a7eef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a21ced9a42f1e0eed13bbdbdee4d5917a06235d4f29373199728585fa9a7eef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21ced9a42f1e0eed13bbdbdee4d5917a06235d4f29373199728585fa9a7eef7", kill_on_drop: false }` [INFO] [stdout] a21ced9a42f1e0eed13bbdbdee4d5917a06235d4f29373199728585fa9a7eef7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd7de12a1f8eaf26aa24053b83881be0cafffa75a728e36ba8ada1ccd722c7bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd7de12a1f8eaf26aa24053b83881be0cafffa75a728e36ba8ada1ccd722c7bb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling simple_asn1 v0.5.1 [INFO] [stderr] Compiling jsonwebtoken v8.0.0-beta.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "fd7de12a1f8eaf26aa24053b83881be0cafffa75a728e36ba8ada1ccd722c7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd7de12a1f8eaf26aa24053b83881be0cafffa75a728e36ba8ada1ccd722c7bb", kill_on_drop: false }` [INFO] [stdout] fd7de12a1f8eaf26aa24053b83881be0cafffa75a728e36ba8ada1ccd722c7bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6f663ce88e21c54895c44e624bca1a7e162992f6d9c00879fcc2328e5a2bb2c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e6f663ce88e21c54895c44e624bca1a7e162992f6d9c00879fcc2328e5a2bb2c", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling jsonwebtoken v8.0.0-beta.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "e6f663ce88e21c54895c44e624bca1a7e162992f6d9c00879fcc2328e5a2bb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6f663ce88e21c54895c44e624bca1a7e162992f6d9c00879fcc2328e5a2bb2c", kill_on_drop: false }` [INFO] [stdout] e6f663ce88e21c54895c44e624bca1a7e162992f6d9c00879fcc2328e5a2bb2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0153317932a0bce23f8de64989834b2c6044a8226ff7b20518c6d125bd664b43 [INFO] running `Command { std: "docker" "start" "-a" "0153317932a0bce23f8de64989834b2c6044a8226ff7b20518c6d125bd664b43", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jsonwebtoken-9bb43810855bab93) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test algorithms::tests::generate_algorithm_enum_from_str ... ok [INFO] [stdout] test errors::tests::test_error_rendering ... ok [INFO] [stdout] test validation::tests::aud_string_ok ... ok [INFO] [stdout] test validation::tests::aud_type_mismatch_fails ... ok [INFO] [stdout] test validation::tests::exp_in_past_but_in_leeway_ok ... ok [INFO] [stdout] test validation::tests::iss_missing_fails ... ok [INFO] [stdout] test validation::tests::exp_in_future_ok ... ok [INFO] [stdout] test validation::tests::exp_in_past_fails ... ok [INFO] [stdout] test validation::tests::nbf_in_future_but_in_leeway_ok ... ok [INFO] [stdout] test validation::tests::nbf_in_future_fails ... ok [INFO] [stdout] test validation::tests::sub_missing_fails ... ok [INFO] [stdout] test validation::tests::sub_ok ... ok [INFO] [stdout] test validation::tests::validation_called_even_if_field_is_empty ... ok [INFO] [stdout] test validation::tests::iss_not_matching_fails ... ok [INFO] [stdout] test validation::tests::aud_missing_fails ... ok [INFO] [stdout] test validation::tests::aud_array_of_string_ok ... ok [INFO] [stdout] test validation::tests::aud_use_validation_struct ... ok [INFO] [stdout] test validation::tests::iss_ok ... ok [INFO] [stdout] test validation::tests::aud_correct_type_not_matching_fails ... ok [INFO] [stdout] test validation::tests::nbf_in_past_ok ... ok [INFO] [stdout] test validation::tests::sub_not_matching_fails ... ok [INFO] [stdout] test validation::tests::does_validation_in_right_order - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/hmac.rs (/opt/rustwide/target/debug/deps/hmac-102dd616d8403591) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test dangerous_insecure_decode_token_invalid_signature ... ok [INFO] [stdout] test dangerous_insecure_decode_token_with_validation_invalid_signature ... ok [INFO] [stdout] test dangerous_insecure_decode_token_with_validation ... ok [INFO] [stdout] test encode_with_custom_header ... ok [INFO] [stdout] test verify_hs256 ... ok [INFO] [stdout] test round_trip_claim ... ok [INFO] [stdout] test dangerous_insecure_decode_token ... ok [INFO] [stdout] test sign_hs256 ... ok [INFO] [stdout] test dangerous_insecure_decode_token_wrong_algorithm ... ok [INFO] [stdout] test decode_header_only ... ok [INFO] [stdout] test decode_token_with_bytes_secret ... ok [INFO] [stdout] test decode_token ... ok [INFO] [stdout] test dangerous_insecure_decode_token_missing_parts - should panic ... ok [INFO] [stdout] test dangerous_insecure_decode_token_with_validation_missing_parts - should panic ... ok [INFO] [stdout] test encode_wrong_alg_family - should panic ... ok [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-6bbaa78a9a952d76) [INFO] [stdout] test decode_token_invalid_signature - should panic ... ok [INFO] [stdout] test decode_token_missing_parts - should panic ... ok [INFO] [stdout] test decode_token_wrong_algorithm - should panic ... ok [INFO] [stdout] test dangerous_insecure_decode_token_with_validation_wrong_algorithm - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test ecdsa::round_trip_sign_verification_pk8 ... ok [INFO] [stdout] test header::x5c_der_invalid_chain ... ok [INFO] [stdout] test ecdsa::round_trip_claim ... ok [INFO] [stdout] test header::x5c_der_valid_chain ... ok [INFO] [stdout] test eddsa::round_trip_claim ... ok [INFO] [stdout] test ecdsa::round_trip_sign_verification_pem ... ok [INFO] [stdout] test header::x5c_der_empty_chain ... ok [INFO] [stdout] test eddsa::round_trip_sign_verification_pk8 ... ok [INFO] [stdout] test eddsa::round_trip_sign_verification_pem ... ok [INFO] [stdout] test rsa::rsa_modulus_exponent ... ok [INFO] [stdout] test ecdsa::roundtrip_with_jwtio_example ... ok [INFO] [stdout] test rsa::round_trip_sign_verification_pem_pkcs1 ... ok [INFO] [stdout] test rsa::round_trip_claim ... ok [INFO] [stdout] test rsa::round_trip_sign_verification_der ... ok [INFO] [stderr] Doc-tests jsonwebtoken [INFO] [stdout] test rsa::roundtrip_with_jwtio_example_jey ... ok [INFO] [stdout] test rsa::round_trip_sign_verification_pem_pkcs8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/decoding.rs - decoding::decode_header (line 286) ... ok [INFO] [stdout] test src/decoding.rs - decoding::decode (line 186) ... ok [INFO] [stdout] test src/validation.rs - validation::Validation (line 14) ... ok [INFO] [stdout] test src/decoding.rs - decoding::dangerous_insecure_decode (line 220) ... ok [INFO] [stdout] test src/decoding.rs - decoding::dangerous_insecure_decode_with_validation (line 250) ... ok [INFO] [stdout] test src/encoding.rs - encoding::encode (line 77) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0153317932a0bce23f8de64989834b2c6044a8226ff7b20518c6d125bd664b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0153317932a0bce23f8de64989834b2c6044a8226ff7b20518c6d125bd664b43", kill_on_drop: false }` [INFO] [stdout] 0153317932a0bce23f8de64989834b2c6044a8226ff7b20518c6d125bd664b43