[INFO] cloning repository https://github.com/threema-ch/push-relay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/threema-ch/push-relay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreema-ch%2Fpush-relay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreema-ch%2Fpush-relay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 073365dd4f29447184a0f3ba8dc01deda45d3af7 [INFO] testing threema-ch/push-relay against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreema-ch%2Fpush-relay" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/threema-ch/push-relay on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/threema-ch/push-relay [INFO] finished tweaking git repo https://github.com/threema-ch/push-relay [INFO] tweaked toml for git repo https://github.com/threema-ch/push-relay written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/threema-ch/push-relay already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cd0f67c6031cb9be000dd3e8de06525c6a8563f2b640e4fcaf8c9ed2aaae55f [INFO] running `Command { std: "docker" "start" "-a" "2cd0f67c6031cb9be000dd3e8de06525c6a8563f2b640e4fcaf8c9ed2aaae55f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cd0f67c6031cb9be000dd3e8de06525c6a8563f2b640e4fcaf8c9ed2aaae55f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd0f67c6031cb9be000dd3e8de06525c6a8563f2b640e4fcaf8c9ed2aaae55f", kill_on_drop: false }` [INFO] [stdout] 2cd0f67c6031cb9be000dd3e8de06525c6a8563f2b640e4fcaf8c9ed2aaae55f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b32e5af732b4188d9940a2eec0ac525ce3a51fd6a1304f6e4318d27c17cfd248 [INFO] running `Command { std: "docker" "start" "-a" "b32e5af732b4188d9940a2eec0ac525ce3a51fd6a1304f6e4318d27c17cfd248", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-rustls v0.23.3 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-alpn v0.3.0 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling a2 v0.6.2 [INFO] [stderr] Compiling push-relay v4.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated unit variant `clap::AppSettings::DisableColoredHelp`: Replaced with `Command::disable_colored_help` and `Command::is_disable_colored_help_set` [INFO] [stdout] --> src/main.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | #[clap(setting = clap::AppSettings::DisableColoredHelp)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9m 20s [INFO] running `Command { std: "docker" "inspect" "b32e5af732b4188d9940a2eec0ac525ce3a51fd6a1304f6e4318d27c17cfd248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b32e5af732b4188d9940a2eec0ac525ce3a51fd6a1304f6e4318d27c17cfd248", kill_on_drop: false }` [INFO] [stdout] b32e5af732b4188d9940a2eec0ac525ce3a51fd6a1304f6e4318d27c17cfd248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98b87eeafbc15c51b32ac38dc9ca35de36a6c1658b7a7f2398697fb49e86c862 [INFO] running `Command { std: "docker" "start" "-a" "98b87eeafbc15c51b32ac38dc9ca35de36a6c1658b7a7f2398697fb49e86c862", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling similar v2.1.0 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mockito v0.31.0 [INFO] [stderr] Compiling push-relay v4.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated unit variant `clap::AppSettings::DisableColoredHelp`: Replaced with `Command::disable_colored_help` and `Command::is_disable_colored_help_set` [INFO] [stdout] --> src/main.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | #[clap(setting = clap::AppSettings::DisableColoredHelp)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "98b87eeafbc15c51b32ac38dc9ca35de36a6c1658b7a7f2398697fb49e86c862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b87eeafbc15c51b32ac38dc9ca35de36a6c1658b7a7f2398697fb49e86c862", kill_on_drop: false }` [INFO] [stdout] 98b87eeafbc15c51b32ac38dc9ca35de36a6c1658b7a7f2398697fb49e86c862 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2d2823fbf2e52291b9866f1baa35fe0af5b5d369422d27433815f3800ce2b3d [INFO] running `Command { std: "docker" "start" "-a" "f2d2823fbf2e52291b9866f1baa35fe0af5b5d369422d27433815f3800ce2b3d", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated unit variant `clap::AppSettings::DisableColoredHelp`: Replaced with `Command::disable_colored_help` and `Command::is_disable_colored_help_set` [INFO] [stderr] --> src/main.rs:36:37 [INFO] [stderr] | [INFO] [stderr] 36 | #[clap(setting = clap::AppSettings::DisableColoredHelp)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `push-relay` (bin "push-relay" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/push_relay-996f2771d365c874) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test push::fcm::test::test_priority_serialization ... ok [INFO] [stdout] test push::hms::tests::context::get_credentials ... ok [INFO] [stdout] test server::tests::test_bad_endpoint ... ok [INFO] [stdout] test server::tests::test_bad_token_type ... ok [INFO] [stdout] test server::tests::test_invalid_contenttype ... ok [INFO] [stdout] test server::tests::test_invalid_method ... ok [INFO] [stdout] test server::tests::test_invalid_path ... ok [INFO] [stdout] test server::tests::test_fcm_internal_server_error ... ok [INFO] [stdout] test server::tests::test_fcm_ok ... ok [INFO] [stdout] test server::tests::test_missing_contenttype ... ok [INFO] [stdout] test server::tests::test_invalid_ttl ... ok [INFO] [stdout] test server::tests::test_fcm_missing_registration ... ok [INFO] [stdout] test server::tests::test_fcm_unknown_error ... ok [INFO] [stdout] test server::tests::test_fcm_not_registered ... ok [INFO] [stdout] test server::tests::test_no_params ... ok [INFO] [stdout] test server::tests::test_missing_params_apns ... ok [INFO] [stdout] test server::tests::test_missing_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2d2823fbf2e52291b9866f1baa35fe0af5b5d369422d27433815f3800ce2b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d2823fbf2e52291b9866f1baa35fe0af5b5d369422d27433815f3800ce2b3d", kill_on_drop: false }` [INFO] [stdout] f2d2823fbf2e52291b9866f1baa35fe0af5b5d369422d27433815f3800ce2b3d