[INFO] fetching crate mattermost-rust-client 4.0.8... [INFO] checking mattermost-rust-client-4.0.8 against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] extracting crate mattermost-rust-client 4.0.8 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate mattermost-rust-client 4.0.8 [INFO] finished tweaking crates.io crate mattermost-rust-client 4.0.8 [INFO] tweaked toml for crates.io crate mattermost-rust-client 4.0.8 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mattermost-rust-client 4.0.8 on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 187 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding serde_with v2.3.3 (available: v3.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8057fb87c39d23b5cf4d83428a4f0cf0b7ae5165e06d37bcdbeab07e3d3529b4 [INFO] running `Command { std: "docker" "start" "-a" "8057fb87c39d23b5cf4d83428a4f0cf0b7ae5165e06d37bcdbeab07e3d3529b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8057fb87c39d23b5cf4d83428a4f0cf0b7ae5165e06d37bcdbeab07e3d3529b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8057fb87c39d23b5cf4d83428a4f0cf0b7ae5165e06d37bcdbeab07e3d3529b4", kill_on_drop: false }` [INFO] [stdout] 8057fb87c39d23b5cf4d83428a4f0cf0b7ae5165e06d37bcdbeab07e3d3529b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 905778b9b4929c5ce4c8247470e2b506d03a5bb60d36104d8fbc77c295b3fe3c [INFO] running `Command { std: "docker" "start" "-a" "905778b9b4929c5ce4c8247470e2b506d03a5bb60d36104d8fbc77c295b3fe3c", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking mattermost-rust-client v4.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/bots_api.rs:513:98 [INFO] [stdout] | [INFO] [stdout] 513 | ...iguration, bot_user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/bots_api.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/brand_api.rs:113:79 [INFO] [stdout] | [INFO] [stdout] 113 | ...configuration::Configuration, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/brand_api.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/bots_api.rs:513:98 [INFO] [stdout] | [INFO] [stdout] 513 | ...iguration, bot_user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/bots_api.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/brand_api.rs:113:79 [INFO] [stdout] | [INFO] [stdout] 113 | ...configuration::Configuration, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/brand_api.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/emoji_api.rs:142:73 [INFO] [stdout] | [INFO] [stdout] 142 | ...configuration::Configuration, image: std::path::PathBuf, emoji: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `files` [INFO] [stdout] --> src/apis/files_api.rs:348:122 [INFO] [stdout] | [INFO] [stdout] 348 | ...str>, filename: Option<&str>, files: Option, channel_id2: Option<&str>, client_ids: Option<&str>) -> Result src/apis/emoji_api.rs:142:73 [INFO] [stdout] | [INFO] [stdout] 142 | ...configuration::Configuration, image: std::path::PathBuf, emoji: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `files` [INFO] [stdout] --> src/apis/files_api.rs:348:122 [INFO] [stdout] | [INFO] [stdout] 348 | ...str>, filename: Option<&str>, files: Option, channel_id2: Option<&str>, client_ids: Option<&str>) -> Result src/apis/plugins_api.rs:473:74 [INFO] [stdout] | [INFO] [stdout] 473 | ...onfiguration::Configuration, plugin: std::path::PathBuf, force: Option<&str>) -> Result src/apis/saml_api.rs:379:88 [INFO] [stdout] | [INFO] [stdout] 379 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:413:92 [INFO] [stdout] | [INFO] [stdout] 413 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:447:91 [INFO] [stdout] | [INFO] [stdout] 447 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plugin` [INFO] [stdout] --> src/apis/plugins_api.rs:473:74 [INFO] [stdout] | [INFO] [stdout] 473 | ...onfiguration::Configuration, plugin: std::path::PathBuf, force: Option<&str>) -> Result src/apis/system_api.rs:1591:80 [INFO] [stdout] | [INFO] [stdout] 1591 | ...nfiguration::Configuration, license: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_license` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/system_api.rs:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:379:88 [INFO] [stdout] | [INFO] [stdout] 379 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:413:92 [INFO] [stdout] | [INFO] [stdout] 413 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/apis/teams_api.rs:970:87 [INFO] [stdout] | [INFO] [stdout] 970 | ...:Configuration, team_id: &str, file: std::path::PathBuf, filesize: i32, import_from: &str) -> Result src/apis/saml_api.rs:447:91 [INFO] [stdout] | [INFO] [stdout] 447 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/teams_api.rs:1336:89 [INFO] [stdout] | [INFO] [stdout] 1336 | ...Configuration, team_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/teams_api.rs:1350:9 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `license` [INFO] [stdout] --> src/apis/system_api.rs:1591:80 [INFO] [stdout] | [INFO] [stdout] 1591 | ...nfiguration::Configuration, license: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_license` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/system_api.rs:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/users_api.rs:2390:93 [INFO] [stdout] | [INFO] [stdout] 2390 | ...Configuration, user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/users_api.rs:2404:9 [INFO] [stdout] | [INFO] [stdout] 2404 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/apis/teams_api.rs:970:87 [INFO] [stdout] | [INFO] [stdout] 970 | ...:Configuration, team_id: &str, file: std::path::PathBuf, filesize: i32, import_from: &str) -> Result src/apis/teams_api.rs:1336:89 [INFO] [stdout] | [INFO] [stdout] 1336 | ...Configuration, team_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/teams_api.rs:1350:9 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/users_api.rs:2390:93 [INFO] [stdout] | [INFO] [stdout] 2390 | ...Configuration, user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/users_api.rs:2404:9 [INFO] [stdout] | [INFO] [stdout] 2404 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.75s [INFO] running `Command { std: "docker" "inspect" "905778b9b4929c5ce4c8247470e2b506d03a5bb60d36104d8fbc77c295b3fe3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905778b9b4929c5ce4c8247470e2b506d03a5bb60d36104d8fbc77c295b3fe3c", kill_on_drop: false }` [INFO] [stdout] 905778b9b4929c5ce4c8247470e2b506d03a5bb60d36104d8fbc77c295b3fe3c