[INFO] fetching crate mattermost-rust-client 4.0.8... [INFO] checking mattermost-rust-client-4.0.8 against try#377afada703be70d3fdff9164a481570a3cba7fe for pr-113240 [INFO] extracting crate mattermost-rust-client 4.0.8 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate mattermost-rust-client 4.0.8 on toolchain 377afada703be70d3fdff9164a481570a3cba7fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9b51248866b53511f87cd7626a19dd6e32634a30b47f59e3ebe6ed6e9d46a43 [INFO] running `Command { std: "docker" "start" "-a" "e9b51248866b53511f87cd7626a19dd6e32634a30b47f59e3ebe6ed6e9d46a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9b51248866b53511f87cd7626a19dd6e32634a30b47f59e3ebe6ed6e9d46a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b51248866b53511f87cd7626a19dd6e32634a30b47f59e3ebe6ed6e9d46a43", kill_on_drop: false }` [INFO] [stdout] e9b51248866b53511f87cd7626a19dd6e32634a30b47f59e3ebe6ed6e9d46a43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c2129f57a0ae779c91d0ac9b6d344354ae20c12531b5aeb2540ce0907816327 [INFO] running `Command { std: "docker" "start" "-a" "3c2129f57a0ae779c91d0ac9b6d344354ae20c12531b5aeb2540ce0907816327", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Compiling darling_core v0.20.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking openssl v0.10.55 [INFO] [stderr] Compiling darling_macro v0.20.1 [INFO] [stderr] Compiling darling v0.20.1 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking native-tls v0.2.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde v1.0.164 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.99 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking uuid v1.4.0 [INFO] [stderr] Checking reqwest v0.11.18 [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/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: `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: `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/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/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/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: `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] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "3c2129f57a0ae779c91d0ac9b6d344354ae20c12531b5aeb2540ce0907816327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c2129f57a0ae779c91d0ac9b6d344354ae20c12531b5aeb2540ce0907816327", kill_on_drop: false }` [INFO] [stdout] 3c2129f57a0ae779c91d0ac9b6d344354ae20c12531b5aeb2540ce0907816327