[INFO] cloning repository https://github.com/hWorblehat/github-app-token [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hWorblehat/github-app-token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FhWorblehat%2Fgithub-app-token", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FhWorblehat%2Fgithub-app-token'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee508c91f12db9e3db6f81380156041cf891f2c9 [INFO] checking hWorblehat/github-app-token against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FhWorblehat%2Fgithub-app-token" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hWorblehat/github-app-token [INFO] finished tweaking git repo https://github.com/hWorblehat/github-app-token [INFO] tweaked toml for git repo https://github.com/hWorblehat/github-app-token written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hWorblehat/github-app-token on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hWorblehat/github-app-token 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d281c1e95ff4daa475e4f370a2883af913ce87d515f61f4e10bbb48428c586a0 [INFO] running `Command { std: "docker" "start" "-a" "d281c1e95ff4daa475e4f370a2883af913ce87d515f61f4e10bbb48428c586a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d281c1e95ff4daa475e4f370a2883af913ce87d515f61f4e10bbb48428c586a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d281c1e95ff4daa475e4f370a2883af913ce87d515f61f4e10bbb48428c586a0", kill_on_drop: false }` [INFO] [stdout] d281c1e95ff4daa475e4f370a2883af913ce87d515f61f4e10bbb48428c586a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 248cc1a2511bf615c6d1b6e25b8d2585d9142119b0b4c7efea794877ee599cee [INFO] running `Command { std: "docker" "start" "-a" "248cc1a2511bf615c6d1b6e25b8d2585d9142119b0b4c7efea794877ee599cee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking base64ct v1.1.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking signature v1.4.0 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking pem-rfc7468 v0.2.4 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking hmac-sha256 v1.1.3 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking ed25519-compact v1.0.11 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking hmac-sha512 v1.1.1 [INFO] [stderr] Checking coarsetime v0.1.22 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hmac-sha1-compact v1.1.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Checking rustls v0.20.6 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking pkcs1 v0.2.4 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking trust-dns-proto v0.20.4 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking p256 v0.10.1 [INFO] [stderr] Checking k256 v0.10.4 [INFO] [stderr] Checking rsa v0.5.0 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking trust-dns-resolver v0.20.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking jwt-simple v0.11.0 [INFO] [stderr] Checking github-app-token v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// The GitHub App ID [INFO] [stdout] 27 | | #[clap(short = 'a', long, env = "GITHUB_APP_ID", conflicts_with = "app-id-file")] [INFO] [stdout] 28 | | app_id: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / /// The path to a file containing GitHub App ID [INFO] [stdout] 31 | | #[clap(short = 'A', long, env = "GITHUB_APP_ID_FILE", default_value = "app-id")] [INFO] [stdout] 32 | | app_id_file: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// The GitHub App private key, in PEM format [INFO] [stdout] 35 | | #[clap(short = 'k', long, env = "GITHUB_APP_PRIVATE_KEY", conflicts_with = "private-key-file")] [INFO] [stdout] 36 | | private_key: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / /// The path a file containing the GitHub App private key, in PEM format [INFO] [stdout] 39 | | #[clap(short = 'K', long, env = "GITHUB_APP_PRIVATE_KEY_FILE", default_value = "private-key.pem")] [INFO] [stdout] 40 | | private_key_file: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / /// The GitHub App ID [INFO] [stdout] 43 | | #[clap(short = 'i', long, env = "GITHUB_APP_INSTALLATION_ID", conflicts_with = "installation-id-file")] [INFO] [stdout] 44 | | installation_id: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// The GitHub App ID [INFO] [stdout] 27 | | #[clap(short = 'a', long, env = "GITHUB_APP_ID", conflicts_with = "app-id-file")] [INFO] [stdout] 28 | | app_id: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / /// The path to a file containing GitHub App ID [INFO] [stdout] 31 | | #[clap(short = 'A', long, env = "GITHUB_APP_ID_FILE", default_value = "app-id")] [INFO] [stdout] 32 | | app_id_file: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// The GitHub App private key, in PEM format [INFO] [stdout] 35 | | #[clap(short = 'k', long, env = "GITHUB_APP_PRIVATE_KEY", conflicts_with = "private-key-file")] [INFO] [stdout] 36 | | private_key: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / /// The path a file containing the GitHub App private key, in PEM format [INFO] [stdout] 39 | | #[clap(short = 'K', long, env = "GITHUB_APP_PRIVATE_KEY_FILE", default_value = "private-key.pem")] [INFO] [stdout] 40 | | private_key_file: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / /// The GitHub App ID [INFO] [stdout] 43 | | #[clap(short = 'i', long, env = "GITHUB_APP_INSTALLATION_ID", conflicts_with = "installation-id-file")] [INFO] [stdout] 44 | | installation_id: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / /// The path to a file containing GitHub App ID [INFO] [stdout] 47 | | #[clap(short = 'I', long, env = "GITHUB_APP_INSTALLATION_ID_FILE", default_value = "installation-id")] [INFO] [stdout] 48 | | installation_id_file: String, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / /// Write the token to the given file [INFO] [stdout] 77 | | #[clap(short, long)] [INFO] [stdout] 78 | | write_to: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / /// Write out a '.gitconfig' and '.git-credentials' file to the given directory [INFO] [stdout] 81 | | #[clap(short = 'c', long, default_missing_value = "~")] [INFO] [stdout] 82 | | git_config: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / /// The path to a file containing GitHub App ID [INFO] [stdout] 47 | | #[clap(short = 'I', long, env = "GITHUB_APP_INSTALLATION_ID_FILE", default_value = "installation-id")] [INFO] [stdout] 48 | | installation_id_file: String, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / /// Write the token to the given file [INFO] [stdout] 77 | | #[clap(short, long)] [INFO] [stdout] 78 | | write_to: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / /// Write out a '.gitconfig' and '.git-credentials' file to the given directory [INFO] [stdout] 81 | | #[clap(short = 'c', long, default_missing_value = "~")] [INFO] [stdout] 82 | | git_config: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `github-app-token` (bin "github-app-token" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `github-app-token` (bin "github-app-token") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "248cc1a2511bf615c6d1b6e25b8d2585d9142119b0b4c7efea794877ee599cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248cc1a2511bf615c6d1b6e25b8d2585d9142119b0b4c7efea794877ee599cee", kill_on_drop: false }` [INFO] [stdout] 248cc1a2511bf615c6d1b6e25b8d2585d9142119b0b4c7efea794877ee599cee