[INFO] fetching crate multipart 0.18.0... [INFO] testing multipart-0.18.0 against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] extracting crate multipart 0.18.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate multipart 0.18.0 on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate multipart 0.18.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate multipart 0.18.0 [INFO] tweaked toml for crates.io crate multipart 0.18.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate multipart 0.18.0 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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-6-tc1/source/src/bin/read_file.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pear v0.1.2 [INFO] [stderr] Downloaded state v0.4.1 [INFO] [stderr] Downloaded rocket_http v0.4.2 [INFO] [stderr] Downloaded pear_codegen v0.1.2 [INFO] [stderr] Downloaded untrusted v0.6.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.8 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded chunked_transfer v0.3.1 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded yansi v0.4.0 [INFO] [stderr] Downloaded safemem v0.3.1 [INFO] [stderr] Downloaded devise_codegen v0.2.0 [INFO] [stderr] Downloaded mime_guess v1.8.7 [INFO] [stderr] Downloaded rand_core v0.5.0 [INFO] [stderr] Downloaded ascii v0.8.7 [INFO] [stderr] Downloaded getrandom v0.1.8 [INFO] [stderr] Downloaded mustache v0.9.0 [INFO] [stderr] Downloaded rocket v0.4.2 [INFO] [stderr] Downloaded regex-syntax v0.6.11 [INFO] [stderr] Downloaded regex v1.2.1 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded nickel v0.11.0 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded iron v0.6.0 [INFO] [stderr] Downloaded tiny_http v0.6.2 [INFO] [stderr] Downloaded indexmap v1.0.2 [INFO] [stderr] Downloaded rocket_codegen v0.4.2 [INFO] [stderr] Downloaded devise_core v0.2.0 [INFO] [stderr] Downloaded cookie v0.11.1 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded devise v0.2.0 [INFO] [stderr] Downloaded groupable v0.2.0 [INFO] [stderr] Downloaded ring v0.13.5 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bda609600d165059d00ed0f76b63bd60459471496197796e2d70877c0845390 [INFO] running `Command { std: "docker" "start" "-a" "7bda609600d165059d00ed0f76b63bd60459471496197796e2d70877c0845390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bda609600d165059d00ed0f76b63bd60459471496197796e2d70877c0845390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bda609600d165059d00ed0f76b63bd60459471496197796e2d70877c0845390", kill_on_drop: false }` [INFO] [stdout] 7bda609600d165059d00ed0f76b63bd60459471496197796e2d70877c0845390 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 367eca6d27220a43923ab03632702d10cf3522ff751af2b145ebd8d6180ab797 [INFO] running `Command { std: "docker" "start" "-a" "367eca6d27220a43923ab03632702d10cf3522ff751af2b145ebd8d6180ab797", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/read_file.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling safemem v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling iron v0.6.0 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling multipart v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/mock.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `safemem` is imported redundantly [INFO] [stdout] --> src/server/boundary.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ::safemem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | extern crate safemem; [INFO] [stdout] | --------------------- the item `safemem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `twoway` is imported redundantly [INFO] [stdout] --> src/server/boundary.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::twoway; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `twoway` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/server/field.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use super::httparse::{self, Error as HttparseError, Header, Status, EMPTY_HEADER}; [INFO] [stdout] | ^^^^ the item `httparse` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/server/field.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 174 | None => invalid_cont_disp!( [INFO] [stdout] | _____________________- [INFO] [stdout] 175 | | "expected additional data after Content-Disposition type", [INFO] [stdout] 176 | | header.val [INFO] [stdout] 177 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `invalid_cont_disp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/server/field.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 182 | None => invalid_cont_disp!( [INFO] [stdout] | _____________________- [INFO] [stdout] 183 | | "expected field name and maybe filename, got", [INFO] [stdout] 184 | | after_disp_type [INFO] [stdout] 185 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `invalid_cont_disp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/server/iron.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/server/save.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/server/save.rs:667:42 [INFO] [stdout] | [INFO] [stdout] 667 | occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 667 - occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stdout] 667 + occupied.into_mut().push(SavedField { headers, data }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:536:1 [INFO] [stdout] | [INFO] [stdout] 536 | / quick_error! { [INFO] [stdout] 537 | | #[derive(Debug)] [INFO] [stdout] 538 | | enum ParseHeaderError { [INFO] [stdout] 539 | | /// The `Content-Disposition` header was not found [INFO] [stdout] ... | [INFO] [stdout] 569 | | } [INFO] [stdout] 570 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client/lazy.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | self.error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:541:41 [INFO] [stdout] | [INFO] [stdout] 541 | display(x) -> ("{}:\n{}", x.description(), headers) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:545:44 [INFO] [stdout] | [INFO] [stdout] 545 | display(x) -> ("{}: {}: {}", x.description(), reason, cause) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:551:40 [INFO] [stdout] | [INFO] [stdout] 551 | display(x) -> ("{}: {}", x.description(), err) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:557:46 [INFO] [stdout] | [INFO] [stdout] 557 | display(this) -> ("{}: {}", this.description(), cont_type) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:565:40 [INFO] [stdout] | [INFO] [stdout] 565 | display(x) -> ("{}: {}", x.description(), err) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 (/opt/rustwide/workdir), traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "367eca6d27220a43923ab03632702d10cf3522ff751af2b145ebd8d6180ab797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367eca6d27220a43923ab03632702d10cf3522ff751af2b145ebd8d6180ab797", kill_on_drop: false }` [INFO] [stdout] 367eca6d27220a43923ab03632702d10cf3522ff751af2b145ebd8d6180ab797 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7129e288c80354de988d369ebeb3f2360d56de4530a2a9e0d79aaac99c148eb3 [INFO] running `Command { std: "docker" "start" "-a" "7129e288c80354de988d369ebeb3f2360d56de4530a2a9e0d79aaac99c148eb3", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/read_file.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/mock.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `safemem` is imported redundantly [INFO] [stdout] --> src/server/boundary.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ::safemem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | extern crate safemem; [INFO] [stdout] | --------------------- the item `safemem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `twoway` is imported redundantly [INFO] [stdout] --> src/server/boundary.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::twoway; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `twoway` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/server/field.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use super::httparse::{self, Error as HttparseError, Header, Status, EMPTY_HEADER}; [INFO] [stdout] | ^^^^ the item `httparse` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/server/field.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 174 | None => invalid_cont_disp!( [INFO] [stdout] | _____________________- [INFO] [stdout] 175 | | "expected additional data after Content-Disposition type", [INFO] [stdout] 176 | | header.val [INFO] [stdout] 177 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `invalid_cont_disp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/server/field.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 182 | None => invalid_cont_disp!( [INFO] [stdout] | _____________________- [INFO] [stdout] 183 | | "expected field name and maybe filename, got", [INFO] [stdout] 184 | | after_disp_type [INFO] [stdout] 185 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `invalid_cont_disp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/server/iron.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/server/save.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/server/save.rs:667:42 [INFO] [stdout] | [INFO] [stdout] 667 | occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 667 - occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stdout] 667 + occupied.into_mut().push(SavedField { headers, data }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:536:1 [INFO] [stdout] | [INFO] [stdout] 536 | / quick_error! { [INFO] [stdout] 537 | | #[derive(Debug)] [INFO] [stdout] 538 | | enum ParseHeaderError { [INFO] [stdout] 539 | | /// The `Content-Disposition` header was not found [INFO] [stdout] ... | [INFO] [stdout] 569 | | } [INFO] [stdout] 570 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client/lazy.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | self.error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:541:41 [INFO] [stdout] | [INFO] [stdout] 541 | display(x) -> ("{}:\n{}", x.description(), headers) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:545:44 [INFO] [stdout] | [INFO] [stdout] 545 | display(x) -> ("{}: {}: {}", x.description(), reason, cause) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:551:40 [INFO] [stdout] | [INFO] [stdout] 551 | display(x) -> ("{}: {}", x.description(), err) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:557:46 [INFO] [stdout] | [INFO] [stdout] 557 | display(this) -> ("{}: {}", this.description(), cont_type) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:565:40 [INFO] [stdout] | [INFO] [stdout] 565 | display(x) -> ("{}: {}", x.description(), err) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling multipart v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/mock.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `safemem` is imported redundantly [INFO] [stdout] --> src/server/boundary.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ::safemem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | extern crate safemem; [INFO] [stdout] | --------------------- the item `safemem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `twoway` is imported redundantly [INFO] [stdout] --> src/server/boundary.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::twoway; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `twoway` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/server/field.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use super::httparse::{self, Error as HttparseError, Header, Status, EMPTY_HEADER}; [INFO] [stdout] | ^^^^ the item `httparse` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/server/field.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 174 | None => invalid_cont_disp!( [INFO] [stdout] | _____________________- [INFO] [stdout] 175 | | "expected additional data after Content-Disposition type", [INFO] [stdout] 176 | | header.val [INFO] [stdout] 177 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `invalid_cont_disp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/server/field.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 182 | None => invalid_cont_disp!( [INFO] [stdout] | _____________________- [INFO] [stdout] 183 | | "expected field name and maybe filename, got", [INFO] [stdout] 184 | | after_disp_type [INFO] [stdout] 185 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `invalid_cont_disp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/server/iron.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/server/save.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/server/save.rs:667:42 [INFO] [stdout] | [INFO] [stdout] 667 | occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 667 - occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stdout] 667 + occupied.into_mut().push(SavedField { headers, data }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/local_test.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:536:1 [INFO] [stdout] | [INFO] [stdout] 536 | / quick_error! { [INFO] [stdout] 537 | | #[derive(Debug)] [INFO] [stdout] 538 | | enum ParseHeaderError { [INFO] [stdout] 539 | | /// The `Content-Disposition` header was not found [INFO] [stdout] ... | [INFO] [stdout] 569 | | } [INFO] [stdout] 570 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client/lazy.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | self.error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:541:41 [INFO] [stdout] | [INFO] [stdout] 541 | display(x) -> ("{}:\n{}", x.description(), headers) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:545:44 [INFO] [stdout] | [INFO] [stdout] 545 | display(x) -> ("{}: {}: {}", x.description(), reason, cause) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:551:40 [INFO] [stdout] | [INFO] [stdout] 551 | display(x) -> ("{}: {}", x.description(), err) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:557:46 [INFO] [stdout] | [INFO] [stdout] 557 | display(this) -> ("{}: {}", this.description(), cont_type) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/field.rs:565:40 [INFO] [stdout] | [INFO] [stdout] 565 | display(x) -> ("{}: {}", x.description(), err) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 (/opt/rustwide/workdir), traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "7129e288c80354de988d369ebeb3f2360d56de4530a2a9e0d79aaac99c148eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7129e288c80354de988d369ebeb3f2360d56de4530a2a9e0d79aaac99c148eb3", kill_on_drop: false }` [INFO] [stdout] 7129e288c80354de988d369ebeb3f2360d56de4530a2a9e0d79aaac99c148eb3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b06863fd2661bdde01900e25419837b9f94e5cac078c440313fec57330ab9eb [INFO] running `Command { std: "docker" "start" "-a" "6b06863fd2661bdde01900e25419837b9f94e5cac078c440313fec57330ab9eb", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/read_file.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: the item `rand` is imported redundantly [INFO] [stderr] --> src/mock.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | use rand::{self, Rng}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | extern crate rand; [INFO] [stderr] | ------------------ the item `rand` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `safemem` is imported redundantly [INFO] [stderr] --> src/server/boundary.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use ::safemem; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | extern crate safemem; [INFO] [stderr] | --------------------- the item `safemem` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `twoway` is imported redundantly [INFO] [stderr] --> src/server/boundary.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use super::twoway; [INFO] [stderr] | ^^^^^^^^^^^^^ the item `twoway` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `httparse` is imported redundantly [INFO] [stderr] --> src/server/field.rs:17:23 [INFO] [stderr] | [INFO] [stderr] 17 | use super::httparse::{self, Error as HttparseError, Header, Status, EMPTY_HEADER}; [INFO] [stderr] | ^^^^ the item `httparse` is already defined here [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/server/field.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | )); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 174 | None => invalid_cont_disp!( [INFO] [stderr] | _____________________- [INFO] [stderr] 175 | | "expected additional data after Content-Disposition type", [INFO] [stderr] 176 | | header.val [INFO] [stderr] 177 | | ), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `invalid_cont_disp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/server/field.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | )); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 182 | None => invalid_cont_disp!( [INFO] [stderr] | _____________________- [INFO] [stderr] 183 | | "expected field name and maybe filename, got", [INFO] [stderr] 184 | | after_disp_type [INFO] [stderr] 185 | | ), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `invalid_cont_disp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the item `tempfile` is imported redundantly [INFO] [stderr] --> src/server/iron.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use tempfile; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | extern crate tempfile; [INFO] [stderr] | ---------------------- the item `tempfile` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `tempfile` is imported redundantly [INFO] [stderr] --> src/server/save.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use tempfile; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | extern crate tempfile; [INFO] [stderr] | ---------------------- the item `tempfile` is already imported here [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/server/save.rs:667:42 [INFO] [stderr] | [INFO] [stderr] 667 | occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stderr] | ^^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 667 - occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stderr] 667 + occupied.into_mut().push(SavedField { headers, data }); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/field.rs:536:1 [INFO] [stderr] | [INFO] [stderr] 536 | / quick_error! { [INFO] [stderr] 537 | | #[derive(Debug)] [INFO] [stderr] 538 | | enum ParseHeaderError { [INFO] [stderr] 539 | | /// The `Content-Disposition` header was not found [INFO] [stderr] ... | [INFO] [stderr] 569 | | } [INFO] [stderr] 570 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/client/lazy.rs:83:20 [INFO] [stderr] | [INFO] [stderr] 83 | self.error.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/field.rs:541:41 [INFO] [stderr] | [INFO] [stderr] 541 | display(x) -> ("{}:\n{}", x.description(), headers) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/field.rs:545:44 [INFO] [stderr] | [INFO] [stderr] 545 | display(x) -> ("{}: {}: {}", x.description(), reason, cause) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/field.rs:551:40 [INFO] [stderr] | [INFO] [stderr] 551 | display(x) -> ("{}: {}", x.description(), err) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/field.rs:557:46 [INFO] [stderr] | [INFO] [stderr] 557 | display(this) -> ("{}: {}", this.description(), cont_type) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/field.rs:565:40 [INFO] [stderr] | [INFO] [stderr] 565 | display(x) -> ("{}: {}", x.description(), err) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `rand` is imported redundantly [INFO] [stderr] --> src/local_test.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | use rand::{self, Rng}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | extern crate rand; [INFO] [stderr] | ------------------ the item `rand` is already imported here [INFO] [stderr] [INFO] [stderr] warning: `multipart` (lib) generated 16 warnings (run `cargo fix --lib -p multipart` to apply 1 suggestion) [INFO] [stderr] warning: `multipart` (lib test) generated 17 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 (/opt/rustwide/workdir), traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/multipart-417cb7f1b2b12e85) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test local_test::extended::lazy_client_entry_server ... ignored [INFO] [stdout] test local_test::extended::lazy_client_reg_server ... ignored [INFO] [stdout] test local_test::extended::reg_client_entry_server ... ignored [INFO] [stdout] test local_test::extended::reg_client_reg_server ... ignored [INFO] [stdout] test server::boundary::test::test_boundary ... ok [INFO] [stdout] test server::boundary::test::test_leading_crlf ... ok [INFO] [stdout] test server::boundary::test::test_empty_body ... ok [INFO] [stdout] test server::boundary::test::test_invalid_boundary ... ok [INFO] [stdout] test local_test::lazy_client_entry_server ... ok [INFO] [stdout] test local_test::lazy_client_reg_server ... ok [INFO] [stdout] test server::boundary::test::test_lone_boundary ... ok [INFO] [stdout] test server::boundary::test::test_skip_field ... ok [INFO] [stdout] test local_test::reg_client_reg_server ... ok [INFO] [stdout] test local_test::reg_client_entry_server ... ok [INFO] [stdout] test server::boundary::test::test_trailing_crlf ... ok [INFO] [stdout] test server::boundary::test::test_trailing_lflf ... ok [INFO] [stdout] test server::boundary::test::test_unterminated_body ... ok [INFO] [stdout] test server::field::test_find_header ... ok [INFO] [stdout] test server::boundary::test::test_split_boundary ... ok [INFO] [stdout] test server::issue_104 ... ok [INFO] [stdout] test server::issue_114 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/form_test.rs (/opt/rustwide/target/debug/deps/form_test-17e8bb13121a0a41) [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] [stderr] Doc-tests multipart [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/server/save.rs:667:42 [INFO] [stderr] | [INFO] [stderr] 667 | occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stderr] | ^^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 667 - occupied.into_mut().push({ SavedField { headers, data }}); [INFO] [stderr] 667 + occupied.into_mut().push(SavedField { headers, data }); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/server/iron.rs - server::iron::Intercept (line 49) - compile ... ok [INFO] [stdout] test src/lib.rs - chain_result (line 79) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6b06863fd2661bdde01900e25419837b9f94e5cac078c440313fec57330ab9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b06863fd2661bdde01900e25419837b9f94e5cac078c440313fec57330ab9eb", kill_on_drop: false }` [INFO] [stdout] 6b06863fd2661bdde01900e25419837b9f94e5cac078c440313fec57330ab9eb