[INFO] fetching crate multer 3.1.0... [INFO] testing multer-3.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate multer 3.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate multer 3.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate multer 3.1.0 [INFO] tweaked toml for crates.io crate multer 3.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate multer 3.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate multer 3.1.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1620607367d124c428eb80bc88d1d0af36d966672817f7e5265fd5ca4bc1f4de [INFO] running `Command { std: "docker" "start" "-a" "1620607367d124c428eb80bc88d1d0af36d966672817f7e5265fd5ca4bc1f4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1620607367d124c428eb80bc88d1d0af36d966672817f7e5265fd5ca4bc1f4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1620607367d124c428eb80bc88d1d0af36d966672817f7e5265fd5ca4bc1f4de", kill_on_drop: false }` [INFO] [stdout] 1620607367d124c428eb80bc88d1d0af36d966672817f7e5265fd5ca4bc1f4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21c92fa234500632027ea44f2bfe4beea6ae826b2cf607f6ec0cf754cd0a4955 [INFO] running `Command { std: "docker" "start" "-a" "21c92fa234500632027ea44f2bfe4beea6ae826b2cf607f6ec0cf754cd0a4955", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling multer v3.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http v1.0.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `doc_cfg` is declared but not used [INFO] [stdout] --> src/lib.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.26s [INFO] running `Command { std: "docker" "inspect" "21c92fa234500632027ea44f2bfe4beea6ae826b2cf607f6ec0cf754cd0a4955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c92fa234500632027ea44f2bfe4beea6ae826b2cf607f6ec0cf754cd0a4955", kill_on_drop: false }` [INFO] [stdout] 21c92fa234500632027ea44f2bfe4beea6ae826b2cf607f6ec0cf754cd0a4955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9956d6edad84d13cb70e1dddf8c325cee35a594600149b02cf3f104403b3ebce [INFO] running `Command { std: "docker" "start" "-a" "9956d6edad84d13cb70e1dddf8c325cee35a594600149b02cf3f104403b3ebce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `doc_cfg` is declared but not used [INFO] [stdout] --> src/lib.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling hyper v1.0.1 [INFO] [stderr] Compiling hyper-util v0.1.1 [INFO] [stderr] Compiling multer v3.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `doc_cfg` is declared but not used [INFO] [stdout] --> src/lib.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.75s [INFO] running `Command { std: "docker" "inspect" "9956d6edad84d13cb70e1dddf8c325cee35a594600149b02cf3f104403b3ebce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9956d6edad84d13cb70e1dddf8c325cee35a594600149b02cf3f104403b3ebce", kill_on_drop: false }` [INFO] [stdout] 9956d6edad84d13cb70e1dddf8c325cee35a594600149b02cf3f104403b3ebce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9364d143328b67042117f9da7a928dfd8e39387f267a6fb259f17bcbb16d5c5e [INFO] running `Command { std: "docker" "start" "-a" "9364d143328b67042117f9da7a928dfd8e39387f267a6fb259f17bcbb16d5c5e", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: feature `doc_cfg` is declared but not used [INFO] [stderr] --> src/lib.rs:119:30 [INFO] [stderr] | [INFO] [stderr] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `multer` (lib) generated 2 warnings [INFO] [stderr] warning: `multer` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/multer-b062a124c33a7a2d) [INFO] [stdout] running 8 tests [INFO] [stdout] test constants::tests::test_content_disposition_name_escaped_quote ... ok [INFO] [stdout] test constants::tests::test_content_disposition_name_only ... ok [INFO] [stdout] test constants::tests::test_content_disposition_file_name_only ... ok [INFO] [stdout] test constants::tests::test_content_distribution_misordered_fields ... ok [INFO] [stdout] test constants::tests::test_content_disposition_extraction ... ok [INFO] [stdout] test constants::tests::test_content_disposition_name_quoted ... ok [INFO] [stdout] test constants::tests::test_content_disposition_name_unquoted ... ok [INFO] [stdout] test tests::test_parse_boundary ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test test_multiaccess_caught ... ok [INFO] [stdout] test test_multipart_clean_field ... ok [INFO] [stdout] test test_multipart_constraint_allowed_fields_normal ... ok [INFO] [stdout] test test_multipart_empty ... ok [INFO] [stdout] test test_multipart_constraint_size_limit_whole_stream ... ok [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-8ad52b75b72bc426) [INFO] [stdout] test test_multipart_header ... ok [INFO] [stdout] test test_multipart_transport_padding ... ok [INFO] [stdout] test test_multipart_basic ... ok [INFO] [stdout] test test_multipart_constraint_size_limit_for_field ... ok [INFO] [stdout] test test_multipart_constraint_size_limit_per_field ... ok [INFO] [stdout] test test_multipart_constraint_size_limit_whole_stream_size_exceeded - should panic ... ok [INFO] [stdout] test test_multipart_constraint_size_limit_for_field_size_exceeded - should panic ... ok [INFO] [stdout] test test_multipart_constraint_allowed_fields_unknown_field - should panic ... ok [INFO] [stdout] test test_multipart_constraint_size_limit_per_field_size_exceeded - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Doc-tests multer [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - (line 12) - compile ... ok [INFO] [stdout] test src/lib.rs - parse_boundary (line 157) ... ok [INFO] [stdout] test src/field.rs - field::Field<'r>::text (line 221) ... ok [INFO] [stdout] test src/field.rs - field::Field<'r>::bytes (line 105) ... ok [INFO] [stdout] test src/field.rs - field::Field<'r>::chunk (line 142) ... ok [INFO] [stdout] test src/multipart.rs - multipart::Multipart<'r>::next_field_with_idx (line 436) ... ok [INFO] [stdout] test src/multipart.rs - multipart::Multipart (line 54) ... ok [INFO] [stdout] test src/field.rs - field::Field<'r>::text_with_charset (line 256) ... ok [INFO] [stdout] test src/field.rs - field::Field<'r>::index (line 292) ... ok [INFO] [stdout] test src/field.rs - field::Field (line 30) ... ok [INFO] [stdout] test src/multipart.rs - multipart::Multipart (line 30) ... ok [INFO] [stdout] test src/constraints.rs - constraints::Constraints (line 14) ... ok [INFO] [stdout] test src/lib.rs - (line 68) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.72s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9364d143328b67042117f9da7a928dfd8e39387f267a6fb259f17bcbb16d5c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9364d143328b67042117f9da7a928dfd8e39387f267a6fb259f17bcbb16d5c5e", kill_on_drop: false }` [INFO] [stdout] 9364d143328b67042117f9da7a928dfd8e39387f267a6fb259f17bcbb16d5c5e