[INFO] fetching crate mattermost-rust-client 4.0.8... [INFO] checking mattermost-rust-client-4.0.8 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate mattermost-rust-client 4.0.8 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mattermost-rust-client 4.0.8 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 194 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding serde_with v2.3.3 (available: v3.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bf2aa3ea47953dfc1ec077b231a63f4903e319f10236122a66c6ba4558c89f0 [INFO] running `Command { std: "docker" "start" "-a" "2bf2aa3ea47953dfc1ec077b231a63f4903e319f10236122a66c6ba4558c89f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bf2aa3ea47953dfc1ec077b231a63f4903e319f10236122a66c6ba4558c89f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bf2aa3ea47953dfc1ec077b231a63f4903e319f10236122a66c6ba4558c89f0", kill_on_drop: false }` [INFO] [stdout] 2bf2aa3ea47953dfc1ec077b231a63f4903e319f10236122a66c6ba4558c89f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3307ae1fd1016fea82c91a60d8db0b9c1d405cf5342e5811f19856adc4a66334 [INFO] running `Command { std: "docker" "start" "-a" "3307ae1fd1016fea82c91a60d8db0b9c1d405cf5342e5811f19856adc4a66334", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Checking uuid v1.18.1 [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 native-tls v0.2.14 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [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)]` 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)]` 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)]` 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)]` 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/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: `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: `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/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/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: `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] [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 27.14s [INFO] running `Command { std: "docker" "inspect" "3307ae1fd1016fea82c91a60d8db0b9c1d405cf5342e5811f19856adc4a66334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3307ae1fd1016fea82c91a60d8db0b9c1d405cf5342e5811f19856adc4a66334", kill_on_drop: false }` [INFO] [stdout] 3307ae1fd1016fea82c91a60d8db0b9c1d405cf5342e5811f19856adc4a66334