[INFO] cloning repository https://github.com/kryptn/newreleases-dispatch-action [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kryptn/newreleases-dispatch-action" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkryptn%2Fnewreleases-dispatch-action", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkryptn%2Fnewreleases-dispatch-action'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 077f3fbeb509fd380b5416863ecea8f8093fbf17 [INFO] testing kryptn/newreleases-dispatch-action against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkryptn%2Fnewreleases-dispatch-action" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kryptn/newreleases-dispatch-action on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kryptn/newreleases-dispatch-action [INFO] finished tweaking git repo https://github.com/kryptn/newreleases-dispatch-action [INFO] tweaked toml for git repo https://github.com/kryptn/newreleases-dispatch-action written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/kryptn/newreleases-dispatch-action already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f36185b93b7bbcdb1499a9df8fcd479b355c87b9b75730ed7e50e0b628884319 [INFO] running `Command { std: "docker" "start" "-a" "f36185b93b7bbcdb1499a9df8fcd479b355c87b9b75730ed7e50e0b628884319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f36185b93b7bbcdb1499a9df8fcd479b355c87b9b75730ed7e50e0b628884319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36185b93b7bbcdb1499a9df8fcd479b355c87b9b75730ed7e50e0b628884319", kill_on_drop: false }` [INFO] [stdout] f36185b93b7bbcdb1499a9df8fcd479b355c87b9b75730ed7e50e0b628884319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e49a3c258d468771f09a927c44a7dd0dabd6596d35a0ff05ee2be3c427e46fd9 [INFO] running `Command { std: "docker" "start" "-a" "e49a3c258d468771f09a927c44a7dd0dabd6596d35a0ff05ee2be3c427e46fd9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tower-http v0.2.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling axum-core v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-subscriber v0.3.7 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.4.5 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling newreleases-dispatch-action v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Body` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | body::{Body, Bytes}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret` [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let secret = match env::var(NR_WEBHOOK_SECRET_ENV) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let timestamp = get_header(headers, NR_TIMESTAMP).expect("NewReleases.io sends this"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/main.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let signature = get_header(headers, NR_SIGNATURE).expect("NewReleases.io sends this"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/main.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | fn check_signature(headers: &HeaderMap, body: &Bytes) -> Result<(), StatusCode> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_WEBHOOK_SECRET_ENV` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | static NR_WEBHOOK_SECRET_ENV: &str = "WEBHOOK_SECRET"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_OWNER_HEADER` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | static NR_OWNER_HEADER: &str = "X-NewReleases-Owner"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_REPO_HEADER` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | static NR_REPO_HEADER: &str = "X-NewReleases-Repo"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_SIGNATURE` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | static NR_SIGNATURE: &str = "X-Newreleases-Signature"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_TIMESTAMP` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | static NR_TIMESTAMP: &str = "X-Newreleases-Timestamp"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_signature` [INFO] [stdout] --> src/main.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn check_signature(headers: &HeaderMap, body: &Bytes) -> Result<(), StatusCode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.41s [INFO] running `Command { std: "docker" "inspect" "e49a3c258d468771f09a927c44a7dd0dabd6596d35a0ff05ee2be3c427e46fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e49a3c258d468771f09a927c44a7dd0dabd6596d35a0ff05ee2be3c427e46fd9", kill_on_drop: false }` [INFO] [stdout] e49a3c258d468771f09a927c44a7dd0dabd6596d35a0ff05ee2be3c427e46fd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c355958a1e8522643a29462744ecb7f04eb2512952ccd267ed57d29f964c1a36 [INFO] running `Command { std: "docker" "start" "-a" "c355958a1e8522643a29462744ecb7f04eb2512952ccd267ed57d29f964c1a36", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling newreleases-dispatch-action v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Body` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | body::{Body, Bytes}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret` [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let secret = match env::var(NR_WEBHOOK_SECRET_ENV) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let timestamp = get_header(headers, NR_TIMESTAMP).expect("NewReleases.io sends this"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/main.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let signature = get_header(headers, NR_SIGNATURE).expect("NewReleases.io sends this"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/main.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | fn check_signature(headers: &HeaderMap, body: &Bytes) -> Result<(), StatusCode> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_WEBHOOK_SECRET_ENV` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | static NR_WEBHOOK_SECRET_ENV: &str = "WEBHOOK_SECRET"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_OWNER_HEADER` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | static NR_OWNER_HEADER: &str = "X-NewReleases-Owner"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_REPO_HEADER` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | static NR_REPO_HEADER: &str = "X-NewReleases-Repo"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_SIGNATURE` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | static NR_SIGNATURE: &str = "X-Newreleases-Signature"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NR_TIMESTAMP` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | static NR_TIMESTAMP: &str = "X-Newreleases-Timestamp"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_signature` [INFO] [stdout] --> src/main.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn check_signature(headers: &HeaderMap, body: &Bytes) -> Result<(), StatusCode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "c355958a1e8522643a29462744ecb7f04eb2512952ccd267ed57d29f964c1a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c355958a1e8522643a29462744ecb7f04eb2512952ccd267ed57d29f964c1a36", kill_on_drop: false }` [INFO] [stdout] c355958a1e8522643a29462744ecb7f04eb2512952ccd267ed57d29f964c1a36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f1467c5b093764aba4a3dca093d97478b61afec6d96b4ac409a7e1500fff019b [INFO] running `Command { std: "docker" "start" "-a" "f1467c5b093764aba4a3dca093d97478b61afec6d96b4ac409a7e1500fff019b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Body` [INFO] [stderr] --> src/main.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | body::{Body, Bytes}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `secret` [INFO] [stderr] --> src/main.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | let secret = match env::var(NR_WEBHOOK_SECRET_ENV) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> src/main.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | let timestamp = get_header(headers, NR_TIMESTAMP).expect("NewReleases.io sends this"); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `signature` [INFO] [stderr] --> src/main.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | let signature = get_header(headers, NR_SIGNATURE).expect("NewReleases.io sends this"); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/main.rs:146:41 [INFO] [stderr] | [INFO] [stderr] 146 | fn check_signature(headers: &HeaderMap, body: &Bytes) -> Result<(), StatusCode> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: static is never used: `NR_WEBHOOK_SECRET_ENV` [INFO] [stderr] --> src/main.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | static NR_WEBHOOK_SECRET_ENV: &str = "WEBHOOK_SECRET"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static is never used: `NR_OWNER_HEADER` [INFO] [stderr] --> src/main.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | static NR_OWNER_HEADER: &str = "X-NewReleases-Owner"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `NR_REPO_HEADER` [INFO] [stderr] --> src/main.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | static NR_REPO_HEADER: &str = "X-NewReleases-Repo"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `NR_SIGNATURE` [INFO] [stderr] --> src/main.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | static NR_SIGNATURE: &str = "X-Newreleases-Signature"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `NR_TIMESTAMP` [INFO] [stderr] --> src/main.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | static NR_TIMESTAMP: &str = "X-Newreleases-Timestamp"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_signature` [INFO] [stderr] --> src/main.rs:146:4 [INFO] [stderr] | [INFO] [stderr] 146 | fn check_signature(headers: &HeaderMap, body: &Bytes) -> Result<(), StatusCode> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `newreleases-dispatch-action` (bin "newreleases-dispatch-action" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/newreleases_dispatch_action-4229d765e465c7a0) [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] running `Command { std: "docker" "inspect" "f1467c5b093764aba4a3dca093d97478b61afec6d96b4ac409a7e1500fff019b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1467c5b093764aba4a3dca093d97478b61afec6d96b4ac409a7e1500fff019b", kill_on_drop: false }` [INFO] [stdout] f1467c5b093764aba4a3dca093d97478b61afec6d96b4ac409a7e1500fff019b