[INFO] cloning repository https://github.com/chandresh2727/MSG_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chandresh2727/MSG_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandresh2727%2FMSG_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandresh2727%2FMSG_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fd5bb94a191426b190b77ca3067f5de7122f704 [INFO] checking chandresh2727/MSG_Rust/2fd5bb94a191426b190b77ca3067f5de7122f704 against master#0f353363965ebf05e0757f7679c800b39c51a07e for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandresh2727%2FMSG_Rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chandresh2727/MSG_Rust [INFO] finished tweaking git repo https://github.com/chandresh2727/MSG_Rust [INFO] tweaked toml for git repo https://github.com/chandresh2727/MSG_Rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chandresh2727/MSG_Rust on toolchain 0f353363965ebf05e0757f7679c800b39c51a07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chandresh2727/MSG_Rust 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" "+0f353363965ebf05e0757f7679c800b39c51a07e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b41741fdbe41255609791a9582b1ad448460c92195868188d3a98e5e590426bd [INFO] running `Command { std: "docker" "start" "-a" "b41741fdbe41255609791a9582b1ad448460c92195868188d3a98e5e590426bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b41741fdbe41255609791a9582b1ad448460c92195868188d3a98e5e590426bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b41741fdbe41255609791a9582b1ad448460c92195868188d3a98e5e590426bd", kill_on_drop: false }` [INFO] [stdout] b41741fdbe41255609791a9582b1ad448460c92195868188d3a98e5e590426bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ca84fdfebaab9b38564b1233970399cbb59bb176da0e079f98a09905b9001ab [INFO] running `Command { std: "docker" "start" "-a" "1ca84fdfebaab9b38564b1233970399cbb59bb176da0e079f98a09905b9001ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking demo-msg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0252]: the name `io` is defined multiple times [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Write}; [INFO] [stdout] | ---- previous import of the module `io` here [INFO] [stdout] ... [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ `io` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `io` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest::multipart` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::multipart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `multipart` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.20/src/lib.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(feature = "multipart")] [INFO] [stdout] | --------------------- the item is gated behind the `multipart` feature [INFO] [stdout] 327 | pub use self::async_impl::multipart; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.20/src/lib.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 344 | / if_wasm! { [INFO] [stdout] 345 | | mod wasm; [INFO] [stdout] 346 | | mod util; [INFO] [stdout] ... | [INFO] [stdout] 350 | | pub use self::wasm::multipart; [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 351 | | } [INFO] [stdout] | |_- the item is gated behind the `wasm32` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest::multipart` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::multipart::Form; [INFO] [stdout] | ^^^^^^^^^ could not find `multipart` in `reqwest` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.20/src/lib.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(feature = "multipart")] [INFO] [stdout] | --------------------- the item is gated behind the `multipart` feature [INFO] [stdout] 327 | pub use self::async_impl::multipart; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.20/src/lib.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 344 | / if_wasm! { [INFO] [stdout] 345 | | mod wasm; [INFO] [stdout] 346 | | mod util; [INFO] [stdout] ... | [INFO] [stdout] 350 | | pub use self::wasm::multipart; [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 351 | | } [INFO] [stdout] | |_- the item is gated behind the `wasm32` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `io` is defined multiple times [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Write}; [INFO] [stdout] | ---- previous import of the module `io` here [INFO] [stdout] ... [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ `io` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `io` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest::multipart` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::multipart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `multipart` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.20/src/lib.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(feature = "multipart")] [INFO] [stdout] | --------------------- the item is gated behind the `multipart` feature [INFO] [stdout] 327 | pub use self::async_impl::multipart; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.20/src/lib.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 344 | / if_wasm! { [INFO] [stdout] 345 | | mod wasm; [INFO] [stdout] 346 | | mod util; [INFO] [stdout] ... | [INFO] [stdout] 350 | | pub use self::wasm::multipart; [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 351 | | } [INFO] [stdout] | |_- the item is gated behind the `wasm32` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest::multipart` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::multipart::Form; [INFO] [stdout] | ^^^^^^^^^ could not find `multipart` in `reqwest` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.20/src/lib.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(feature = "multipart")] [INFO] [stdout] | --------------------- the item is gated behind the `multipart` feature [INFO] [stdout] 327 | pub use self::async_impl::multipart; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.20/src/lib.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 344 | / if_wasm! { [INFO] [stdout] 345 | | mod wasm; [INFO] [stdout] 346 | | mod util; [INFO] [stdout] ... | [INFO] [stdout] 350 | | pub use self::wasm::multipart; [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 351 | | } [INFO] [stdout] | |_- the item is gated behind the `wasm32` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `multipart` found for struct `RequestBuilder` in the current scope [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 36 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 37 | | // here is u r Server Uploaded File Format [INFO] [stdout] 38 | | .post("https://example.com/upload") [INFO] [stdout] 39 | | .multipart(form) [INFO] [stdout] | | -^^^^^^^^^ method not found in `RequestBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `multipart` found for struct `RequestBuilder` in the current scope [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 36 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 37 | | // here is u r Server Uploaded File Format [INFO] [stdout] 38 | | .post("https://example.com/upload") [INFO] [stdout] 39 | | .multipart(form) [INFO] [stdout] | | -^^^^^^^^^ method not found in `RequestBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `demo-msg` (bin "demo-msg" test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `demo-msg` (bin "demo-msg") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ca84fdfebaab9b38564b1233970399cbb59bb176da0e079f98a09905b9001ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca84fdfebaab9b38564b1233970399cbb59bb176da0e079f98a09905b9001ab", kill_on_drop: false }` [INFO] [stdout] 1ca84fdfebaab9b38564b1233970399cbb59bb176da0e079f98a09905b9001ab