[INFO] cloning repository https://github.com/nknotts/rust-telegram-inventory-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nknotts/rust-telegram-inventory-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnknotts%2Frust-telegram-inventory-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnknotts%2Frust-telegram-inventory-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae2006f78531959d1539f4e6ccdd41e24c62c773 [INFO] checking nknotts/rust-telegram-inventory-bot against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnknotts%2Frust-telegram-inventory-bot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nknotts/rust-telegram-inventory-bot on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nknotts/rust-telegram-inventory-bot [INFO] finished tweaking git repo https://github.com/nknotts/rust-telegram-inventory-bot [INFO] tweaked toml for git repo https://github.com/nknotts/rust-telegram-inventory-bot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nknotts/rust-telegram-inventory-bot 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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded serde_derive v1.0.144 [INFO] [stderr] Downloaded teloxide-macros v0.6.3 [INFO] [stderr] Downloaded either v1.8.0 [INFO] [stderr] Downloaded futures-executor v0.3.23 [INFO] [stderr] Downloaded clap_derive v3.2.17 [INFO] [stderr] Downloaded futures v0.3.23 [INFO] [stderr] Downloaded serde v1.0.144 [INFO] [stderr] Downloaded uuid v1.1.2 [INFO] [stderr] Downloaded os_str_bytes v6.3.0 [INFO] [stderr] Downloaded futures-io v0.3.23 [INFO] [stderr] Downloaded serde_json v1.0.85 [INFO] [stderr] Downloaded chrono v0.4.22 [INFO] [stderr] Downloaded h2 v0.3.14 [INFO] [stderr] Downloaded clap v3.2.17 [INFO] [stderr] Downloaded teloxide v0.10.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.32 [INFO] [stderr] Downloaded futures-macro v0.3.23 [INFO] [stderr] Downloaded teloxide-core v0.7.1 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1bbb32acceb2ed546511fecb54ffed7c1d641f7045341e81e55db5a236bace8 [INFO] running `Command { std: "docker" "start" "-a" "e1bbb32acceb2ed546511fecb54ffed7c1d641f7045341e81e55db5a236bace8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1bbb32acceb2ed546511fecb54ffed7c1d641f7045341e81e55db5a236bace8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1bbb32acceb2ed546511fecb54ffed7c1d641f7045341e81e55db5a236bace8", kill_on_drop: false }` [INFO] [stdout] e1bbb32acceb2ed546511fecb54ffed7c1d641f7045341e81e55db5a236bace8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dc2a39dca21c50ba04c003a099e5c875b5bc100b915b478253c8099ac4e01db [INFO] running `Command { std: "docker" "start" "-a" "3dc2a39dca21c50ba04c003a099e5c875b5bc100b915b478253c8099ac4e01db", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling teloxide-macros v0.6.3 [INFO] [stderr] Compiling clap_derive v3.2.17 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking clap v3.2.17 [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking teloxide-core v0.7.1 [INFO] [stderr] Checking teloxide v0.10.1 [INFO] [stderr] Checking inventory-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | SerdeYaml(serde_yaml::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 | SerdeYaml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Reqwest(reqwest::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Reqwest(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:80:49 [INFO] [stdout] | [INFO] [stdout] 80 | let yaml_str = std::fs::read_to_string(fname.clone())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | SerdeYaml(serde_yaml::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 | SerdeYaml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Reqwest(reqwest::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Reqwest(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:80:49 [INFO] [stdout] | [INFO] [stdout] 80 | let yaml_str = std::fs::read_to_string(fname.clone())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "3dc2a39dca21c50ba04c003a099e5c875b5bc100b915b478253c8099ac4e01db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc2a39dca21c50ba04c003a099e5c875b5bc100b915b478253c8099ac4e01db", kill_on_drop: false }` [INFO] [stdout] 3dc2a39dca21c50ba04c003a099e5c875b5bc100b915b478253c8099ac4e01db