[INFO] fetching crate mattermost-rust-client 4.0.8... [INFO] testing mattermost-rust-client-4.0.8 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate mattermost-rust-client 4.0.8 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mattermost-rust-client 4.0.8 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 186 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.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ca9d6ef2fcdd730edad983e4cb4fd8ddc2bd09928e8509765dbfb50ae68fc1b [INFO] running `Command { std: "docker" "start" "-a" "4ca9d6ef2fcdd730edad983e4cb4fd8ddc2bd09928e8509765dbfb50ae68fc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ca9d6ef2fcdd730edad983e4cb4fd8ddc2bd09928e8509765dbfb50ae68fc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ca9d6ef2fcdd730edad983e4cb4fd8ddc2bd09928e8509765dbfb50ae68fc1b", kill_on_drop: false }` [INFO] [stdout] 4ca9d6ef2fcdd730edad983e4cb4fd8ddc2bd09928e8509765dbfb50ae68fc1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccaba9d841909d314b24c800dfb42e4cfe2a77bcd79f9c394d7eb0190661c599 [INFO] running `Command { std: "docker" "start" "-a" "ccaba9d841909d314b24c800dfb42e4cfe2a77bcd79f9c394d7eb0190661c599", kill_on_drop: false }` [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [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] Compiling hyper v0.14.32 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling 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/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: `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/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 37.47s [INFO] running `Command { std: "docker" "inspect" "ccaba9d841909d314b24c800dfb42e4cfe2a77bcd79f9c394d7eb0190661c599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccaba9d841909d314b24c800dfb42e4cfe2a77bcd79f9c394d7eb0190661c599", kill_on_drop: false }` [INFO] [stdout] ccaba9d841909d314b24c800dfb42e4cfe2a77bcd79f9c394d7eb0190661c599 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08e662f786a1e2abac1683e5c34db1a28a96a264d1bd1e0c7d0770de4b739741 [INFO] running `Command { std: "docker" "start" "-a" "08e662f786a1e2abac1683e5c34db1a28a96a264d1bd1e0c7d0770de4b739741", kill_on_drop: false }` [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/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/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] [stderr] Compiling mattermost-rust-client v4.0.8 (/opt/rustwide/workdir) [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/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/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/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 `test` profile [unoptimized + debuginfo] target(s) in 22.94s [INFO] running `Command { std: "docker" "inspect" "08e662f786a1e2abac1683e5c34db1a28a96a264d1bd1e0c7d0770de4b739741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e662f786a1e2abac1683e5c34db1a28a96a264d1bd1e0c7d0770de4b739741", kill_on_drop: false }` [INFO] [stdout] 08e662f786a1e2abac1683e5c34db1a28a96a264d1bd1e0c7d0770de4b739741 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87b29e0e72693bafa36bebd2b9d59611362440303a7760c4e298640b6cec67ec [INFO] running `Command { std: "docker" "start" "-a" "87b29e0e72693bafa36bebd2b9d59611362440303a7760c4e298640b6cec67ec", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `image` [INFO] [stderr] --> src/apis/bots_api.rs:513:98 [INFO] [stderr] | [INFO] [stderr] 513 | ...iguration, bot_user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/apis/bots_api.rs:527:9 [INFO] [stderr] | [INFO] [stderr] 527 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `image` [INFO] [stderr] --> src/apis/brand_api.rs:113:79 [INFO] [stderr] | [INFO] [stderr] 113 | ...configuration::Configuration, image: std::path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/apis/brand_api.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `image` [INFO] [stderr] --> src/apis/emoji_api.rs:142:73 [INFO] [stderr] | [INFO] [stderr] 142 | ...configuration::Configuration, image: std::path::PathBuf, emoji: &str) -> Result> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `files` [INFO] [stderr] --> src/apis/files_api.rs:348:122 [INFO] [stderr] | [INFO] [stderr] 348 | ...str>, filename: Option<&str>, files: Option, channel_id2: Option<&str>, client_ids: Option<&str>) -> Result src/apis/plugins_api.rs:473:74 [INFO] [stderr] | [INFO] [stderr] 473 | ...onfiguration::Configuration, plugin: std::path::PathBuf, force: Option<&str>) -> Result src/apis/saml_api.rs:379:88 [INFO] [stderr] | [INFO] [stderr] 379 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/apis/saml_api.rs:393:9 [INFO] [stderr] | [INFO] [stderr] 393 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `certificate` [INFO] [stderr] --> src/apis/saml_api.rs:413:92 [INFO] [stderr] | [INFO] [stderr] 413 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/apis/saml_api.rs:427:9 [INFO] [stderr] | [INFO] [stderr] 427 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `certificate` [INFO] [stderr] --> src/apis/saml_api.rs:447:91 [INFO] [stderr] | [INFO] [stderr] 447 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/apis/saml_api.rs:461:9 [INFO] [stderr] | [INFO] [stderr] 461 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `license` [INFO] [stderr] --> src/apis/system_api.rs:1591:80 [INFO] [stderr] | [INFO] [stderr] 1591 | ...nfiguration::Configuration, license: std::path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_license` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/apis/system_api.rs:1605:9 [INFO] [stderr] | [INFO] [stderr] 1605 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/apis/teams_api.rs:970:87 [INFO] [stderr] | [INFO] [stderr] 970 | ...:Configuration, team_id: &str, file: std::path::PathBuf, filesize: i32, import_from: &str) -> Result src/apis/teams_api.rs:1336:89 [INFO] [stderr] | [INFO] [stderr] 1336 | ...Configuration, team_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/apis/teams_api.rs:1350:9 [INFO] [stderr] | [INFO] [stderr] 1350 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `image` [INFO] [stderr] --> src/apis/users_api.rs:2390:93 [INFO] [stderr] | [INFO] [stderr] 2390 | ...Configuration, user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/apis/users_api.rs:2404:9 [INFO] [stderr] | [INFO] [stderr] 2404 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `mattermost-rust-client` (lib) generated 20 warnings (run `cargo fix --lib -p mattermost-rust-client` to apply 8 suggestions) [INFO] [stderr] warning: `mattermost-rust-client` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mattermost_rust_client-b184524669ad5b44) [INFO] [stderr] Doc-tests mattermost_rust_client [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87b29e0e72693bafa36bebd2b9d59611362440303a7760c4e298640b6cec67ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b29e0e72693bafa36bebd2b9d59611362440303a7760c4e298640b6cec67ec", kill_on_drop: false }` [INFO] [stdout] 87b29e0e72693bafa36bebd2b9d59611362440303a7760c4e298640b6cec67ec