[INFO] crate keclc-multipart 0.1.0 is already in cache [INFO] testing keclc-multipart-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate keclc-multipart 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate keclc-multipart 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate keclc-multipart 0.1.0 [INFO] finished tweaking crates.io crate keclc-multipart 0.1.0 [INFO] tweaked toml for crates.io crate keclc-multipart 0.1.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83ad34e7611e613d1356f8a7c28747058e820d785f06ef8dbf83fb7fd00ae535 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "83ad34e7611e613d1356f8a7c28747058e820d785f06ef8dbf83fb7fd00ae535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83ad34e7611e613d1356f8a7c28747058e820d785f06ef8dbf83fb7fd00ae535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83ad34e7611e613d1356f8a7c28747058e820d785f06ef8dbf83fb7fd00ae535", kill_on_drop: false }` [INFO] [stdout] 83ad34e7611e613d1356f8a7c28747058e820d785f06ef8dbf83fb7fd00ae535 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5d0fe16114245ee4333cddb19efdb667581383b589cc7448afec139062b148 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de5d0fe16114245ee4333cddb19efdb667581383b589cc7448afec139062b148", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.17.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling kayrx-macro v0.3.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling kayrx v0.7.7 [INFO] [stderr] Compiling keclc-multipart v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 46s [INFO] running `Command { std: "docker" "inspect" "de5d0fe16114245ee4333cddb19efdb667581383b589cc7448afec139062b148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5d0fe16114245ee4333cddb19efdb667581383b589cc7448afec139062b148", kill_on_drop: false }` [INFO] [stdout] de5d0fe16114245ee4333cddb19efdb667581383b589cc7448afec139062b148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8876f76f7d9b4fa207908e626056b06e6f80c332242297900fcab71490d3ba4b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8876f76f7d9b4fa207908e626056b06e6f80c332242297900fcab71490d3ba4b", kill_on_drop: false }` [INFO] [stderr] Compiling keclc-multipart v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.50s [INFO] running `Command { std: "docker" "inspect" "8876f76f7d9b4fa207908e626056b06e6f80c332242297900fcab71490d3ba4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8876f76f7d9b4fa207908e626056b06e6f80c332242297900fcab71490d3ba4b", kill_on_drop: false }` [INFO] [stdout] 8876f76f7d9b4fa207908e626056b06e6f80c332242297900fcab71490d3ba4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c38cd00f98d69be39776d9e1ed98a31fa4cb8f2ebf517cf842f323f53b03affb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c38cd00f98d69be39776d9e1ed98a31fa4cb8f2ebf517cf842f323f53b03affb", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/keclc_multipart-85e2cb3ffd7b5772 [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test server::tests::test_err ... ok [INFO] [stdout] test server::tests::test_basic ... ok [INFO] [stdout] test server::tests::test_eof ... ok [INFO] [stdout] test server::tests::test_boundary ... ok [INFO] [stdout] test error::tests::test_multipart_error ... ok [INFO] [stdout] test server::tests::test_readexactly ... ok [INFO] [stdout] test server::tests::test_readuntil ... ok [INFO] [stdout] test server::tests::test_multipart_no_end_crlf ... ok [INFO] [stdout] test server::tests::test_multipart ... ok [INFO] [stdout] test server::tests::test_readmax ... ok [INFO] [stdout] test server::tests::test_stream ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests keclc-multipart [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/extractor.rs - extractor::Multipart (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/extractor.rs - extractor::Multipart (line 13) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `actix_multipart` [INFO] [stdout] --> src/extractor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_multipart as mp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `actix_multipart` external crate [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/extractor.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 13 | println!("-- CHUNK: \n{:?}", std::str::from_utf8(&chunk?)); [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/extractor.rs - extractor::Multipart (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c38cd00f98d69be39776d9e1ed98a31fa4cb8f2ebf517cf842f323f53b03affb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38cd00f98d69be39776d9e1ed98a31fa4cb8f2ebf517cf842f323f53b03affb", kill_on_drop: false }` [INFO] [stdout] c38cd00f98d69be39776d9e1ed98a31fa4cb8f2ebf517cf842f323f53b03affb