[INFO] cloning repository https://github.com/demonici/shodan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/demonici/shodan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemonici%2Fshodan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemonici%2Fshodan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f776927a1ae0ec90d0e3d7194def3b1502512549 [INFO] checking demonici/shodan 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%2Fdemonici%2Fshodan" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/demonici/shodan [INFO] finished tweaking git repo https://github.com/demonici/shodan [INFO] tweaked toml for git repo https://github.com/demonici/shodan written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/demonici/shodan 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/demonici/shodan 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 191e6359d773900b8f9451b09832fc09a4340470020c54840d7c9eb13e67e7fd [INFO] running `Command { std: "docker" "start" "-a" "191e6359d773900b8f9451b09832fc09a4340470020c54840d7c9eb13e67e7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191e6359d773900b8f9451b09832fc09a4340470020c54840d7c9eb13e67e7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191e6359d773900b8f9451b09832fc09a4340470020c54840d7c9eb13e67e7fd", kill_on_drop: false }` [INFO] [stdout] 191e6359d773900b8f9451b09832fc09a4340470020c54840d7c9eb13e67e7fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8a5df8ae0c214b497e083659191b6c88cb12c21c54f9f98ab3c4b8350082a485 [INFO] running `Command { std: "docker" "start" "-a" "8a5df8ae0c214b497e083659191b6c88cb12c21c54f9f98ab3c4b8350082a485", 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] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling rdkafka-sys v4.2.0+1.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking rdkafka v0.28.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking redis v0.21.5 [INFO] [stderr] Checking dstream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum StreamKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base_url` and `custom` are never used [INFO] [stdout] --> src/client.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl FirehoseClient { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn base_url(mut self, base_url: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn custom(mut self, query: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / #[clap(short, long, default_value = "https://stream.shodan.io")] [INFO] [stdout] 16 | | host: String, [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/handlers/download.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// Download directory [INFO] [stdout] 17 | | #[clap(short = 'd')] [INFO] [stdout] 18 | | directory: PathBuf, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/download.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / /// Timeframe for each downloaded file. Ex: An argument of 5m would mean that a new file gets [INFO] [stdout] 26 | | /// generated every 5 minutes. The supported time units are `d` for days, `h` for hours, `m` [INFO] [stdout] 27 | | /// for minutes, and `s` for seconds. [INFO] [stdout] 28 | | #[clap(short = 'i', default_value = "1h")] [INFO] [stdout] 29 | | interval: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/download.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Host to pubsub service, work the same as `to` option of `publish` subcommand with the [INFO] [stdout] 32 | | /// advantage that it will have publish and download using the same underlying stream. [INFO] [stdout] 33 | | /// The publishing will stop when all files have been downloaded. The channel is always [INFO] [stdout] 34 | | /// `shodan.banners`. [INFO] [stdout] 35 | | #[clap(short = 'p', long)] [INFO] [stdout] 36 | | publish: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/publish.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Host to pubsub service. The cli will try to parse the URL and then decide which service it [INFO] [stdout] 15 | | /// will publish to. Detect if the host is a valid Redis URL first, then fallback to Kafka, [INFO] [stdout] 16 | | /// otherwise panicked. [INFO] [stdout] 17 | | #[clap(short)] [INFO] [stdout] 18 | | to: String, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/publish.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Channel/topic name, depends on which service you are using. [INFO] [stdout] 21 | | #[clap(long = "channel", default_value = "shodan.banners")] [INFO] [stdout] 22 | | channel: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum StreamKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base_url` and `custom` are never used [INFO] [stdout] --> src/client.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl FirehoseClient { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn base_url(mut self, base_url: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn custom(mut self, query: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / #[clap(short, long, default_value = "https://stream.shodan.io")] [INFO] [stdout] 16 | | host: String, [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dstream` (bin "dstream" test) due to 6 previous errors; 2 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/download.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// Download directory [INFO] [stdout] 17 | | #[clap(short = 'd')] [INFO] [stdout] 18 | | directory: PathBuf, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/download.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / /// Timeframe for each downloaded file. Ex: An argument of 5m would mean that a new file gets [INFO] [stdout] 26 | | /// generated every 5 minutes. The supported time units are `d` for days, `h` for hours, `m` [INFO] [stdout] 27 | | /// for minutes, and `s` for seconds. [INFO] [stdout] 28 | | #[clap(short = 'i', default_value = "1h")] [INFO] [stdout] 29 | | interval: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/download.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Host to pubsub service, work the same as `to` option of `publish` subcommand with the [INFO] [stdout] 32 | | /// advantage that it will have publish and download using the same underlying stream. [INFO] [stdout] 33 | | /// The publishing will stop when all files have been downloaded. The channel is always [INFO] [stdout] 34 | | /// `shodan.banners`. [INFO] [stdout] 35 | | #[clap(short = 'p', long)] [INFO] [stdout] 36 | | publish: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/publish.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Host to pubsub service. The cli will try to parse the URL and then decide which service it [INFO] [stdout] 15 | | /// will publish to. Detect if the host is a valid Redis URL first, then fallback to Kafka, [INFO] [stdout] 16 | | /// otherwise panicked. [INFO] [stdout] 17 | | #[clap(short)] [INFO] [stdout] 18 | | to: String, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers/publish.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Channel/topic name, depends on which service you are using. [INFO] [stdout] 21 | | #[clap(long = "channel", default_value = "shodan.banners")] [INFO] [stdout] 22 | | channel: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dstream` (bin "dstream") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8a5df8ae0c214b497e083659191b6c88cb12c21c54f9f98ab3c4b8350082a485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a5df8ae0c214b497e083659191b6c88cb12c21c54f9f98ab3c4b8350082a485", kill_on_drop: false }` [INFO] [stdout] 8a5df8ae0c214b497e083659191b6c88cb12c21c54f9f98ab3c4b8350082a485