[INFO] fetching crate http-muncher 0.3.2... [INFO] building http-muncher-0.3.2 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate http-muncher 0.3.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate http-muncher 0.3.2 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate http-muncher 0.3.2 [INFO] finished tweaking crates.io crate http-muncher 0.3.2 [INFO] tweaked toml for crates.io crate http-muncher 0.3.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 905248e1f4aad0bf476a1d0a4684885737cff21b7da465258fe0be602b0251b9 [INFO] running `Command { std: "docker" "start" "-a" "905248e1f4aad0bf476a1d0a4684885737cff21b7da465258fe0be602b0251b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "905248e1f4aad0bf476a1d0a4684885737cff21b7da465258fe0be602b0251b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905248e1f4aad0bf476a1d0a4684885737cff21b7da465258fe0be602b0251b9", kill_on_drop: false }` [INFO] [stdout] 905248e1f4aad0bf476a1d0a4684885737cff21b7da465258fe0be602b0251b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 500195c46bc1463349b64fb6c7bea581f0d8db6c5a25d30a7e8d7deab57a9cb3 [INFO] running `Command { std: "docker" "start" "-a" "500195c46bc1463349b64fb6c7bea581f0d8db6c5a25d30a7e8d7deab57a9cb3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling http-muncher v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c: In function 'http_parser_execute': [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c:1817:31: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: http-muncher@0.3.2: 1817 | parser->upgrade = 1; [INFO] [stderr] warning: http-muncher@0.3.2: | ~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c:1819:13: note: here [INFO] [stderr] warning: http-muncher@0.3.2: 1819 | case 1: [INFO] [stderr] warning: http-muncher@0.3.2: | ^~~~ [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c: In function 'http_parser_parse_url': [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c:2376:18: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: http-muncher@0.3.2: 2376 | found_at = 1; [INFO] [stderr] warning: http-muncher@0.3.2: | ~~~~~~~~~^~~ [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c:2379:7: note: here [INFO] [stderr] warning: http-muncher@0.3.2: 2379 | case s_req_server: [INFO] [stderr] warning: http-muncher@0.3.2: | ^~~~ [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 46 | on_url: data_fn_wrapper!(on_url), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 47 | on_message_begin: notify_fn_wrapper!(on_message_begin), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 48 | on_status: data_fn_wrapper!(on_status), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 49 | on_header_field: data_fn_wrapper!(on_header_field), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 50 | on_header_value: data_fn_wrapper!(on_header_value), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 51 | on_headers_complete: notify_fn_wrapper!(on_headers_complete), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 52 | on_body: data_fn_wrapper!(on_body), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 53 | on_message_complete: notify_fn_wrapper!(on_message_complete), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 54 | on_chunk_header: notify_fn_wrapper!(on_chunk_header), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 55 | on_chunk_complete: notify_fn_wrapper!(on_chunk_complete), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn on_url(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | fn on_url(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn on_status(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | fn on_status(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_header_field(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_header_field(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | fn on_header_value(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | fn on_header_value(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | fn on_body(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | fn on_body(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_headers_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_message_begin(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | fn on_message_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | fn on_chunk_header(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | fn on_chunk_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | _internal_state: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | _nread: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | _content_length: libc::uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub _extended_status: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p: HttpParser = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::HttpParser` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p: HttpParser = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | _internal_state: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "500195c46bc1463349b64fb6c7bea581f0d8db6c5a25d30a7e8d7deab57a9cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500195c46bc1463349b64fb6c7bea581f0d8db6c5a25d30a7e8d7deab57a9cb3", kill_on_drop: false }` [INFO] [stdout] 500195c46bc1463349b64fb6c7bea581f0d8db6c5a25d30a7e8d7deab57a9cb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeccb58e1e9a68814cce9c03fca8ee7e012e7b0a20011b28d06fa9fa6028112b [INFO] running `Command { std: "docker" "start" "-a" "aeccb58e1e9a68814cce9c03fca8ee7e012e7b0a20011b28d06fa9fa6028112b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c: In function 'http_parser_execute': [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c:1817:31: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: http-muncher@0.3.2: 1817 | parser->upgrade = 1; [INFO] [stderr] warning: http-muncher@0.3.2: | ~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c:1819:13: note: here [INFO] [stderr] warning: http-muncher@0.3.2: 1819 | case 1: [INFO] [stderr] warning: http-muncher@0.3.2: | ^~~~ [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c: In function 'http_parser_parse_url': [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c:2376:18: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: http-muncher@0.3.2: 2376 | found_at = 1; [INFO] [stderr] warning: http-muncher@0.3.2: | ~~~~~~~~~^~~ [INFO] [stderr] warning: http-muncher@0.3.2: http-parser/http_parser.c:2379:7: note: here [INFO] [stderr] warning: http-muncher@0.3.2: 2379 | case s_req_server: [INFO] [stderr] warning: http-muncher@0.3.2: | ^~~~ [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 46 | on_url: data_fn_wrapper!(on_url), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 47 | on_message_begin: notify_fn_wrapper!(on_message_begin), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 48 | on_status: data_fn_wrapper!(on_status), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 49 | on_header_field: data_fn_wrapper!(on_header_field), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 50 | on_header_value: data_fn_wrapper!(on_header_value), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 51 | on_headers_complete: notify_fn_wrapper!(on_headers_complete), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 52 | on_body: data_fn_wrapper!(on_body), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 53 | on_message_complete: notify_fn_wrapper!(on_message_complete), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 54 | on_chunk_header: notify_fn_wrapper!(on_chunk_header), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 55 | on_chunk_complete: notify_fn_wrapper!(on_chunk_complete), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn on_url(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | fn on_url(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn on_status(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | fn on_status(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_header_field(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_header_field(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | fn on_header_value(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | fn on_header_value(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http-muncher v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | fn on_body(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | fn on_body(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_headers_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_message_begin(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | fn on_message_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | fn on_chunk_header(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | fn on_chunk_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | _internal_state: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | _nread: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | _content_length: libc::uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub _extended_status: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p: HttpParser = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::HttpParser` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p: HttpParser = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | _internal_state: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 46 | on_url: data_fn_wrapper!(on_url), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 47 | on_message_begin: notify_fn_wrapper!(on_message_begin), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 48 | on_status: data_fn_wrapper!(on_status), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 49 | on_header_field: data_fn_wrapper!(on_header_field), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 50 | on_header_value: data_fn_wrapper!(on_header_value), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 51 | on_headers_complete: notify_fn_wrapper!(on_headers_complete), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 52 | on_body: data_fn_wrapper!(on_body), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `data_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 53 | on_message_complete: notify_fn_wrapper!(on_message_complete), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 54 | on_chunk_header: notify_fn_wrapper!(on_chunk_header), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 55 | on_chunk_complete: notify_fn_wrapper!(on_chunk_complete), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `notify_fn_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn on_url(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | fn on_url(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn on_status(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | fn on_status(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_header_field(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_header_field(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | fn on_header_value(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | fn on_header_value(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | fn on_body(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | fn on_body(&mut self, &mut Parser, &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_headers_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_message_begin(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | fn on_message_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | fn on_chunk_header(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | fn on_chunk_complete(&mut self, &mut Parser) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:411:47 [INFO] [stdout] | [INFO] [stdout] 411 | impl ParserHandler for DummyHandler {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:454:47 [INFO] [stdout] | [INFO] [stdout] 454 | impl ParserHandler for DummyHandler {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:475:47 [INFO] [stdout] | [INFO] [stdout] 475 | impl ParserHandler for DummyHandler {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | _internal_state: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | _nread: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | _content_length: libc::uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub _extended_status: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p: HttpParser = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::HttpParser` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p: HttpParser = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | _internal_state: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "aeccb58e1e9a68814cce9c03fca8ee7e012e7b0a20011b28d06fa9fa6028112b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeccb58e1e9a68814cce9c03fca8ee7e012e7b0a20011b28d06fa9fa6028112b", kill_on_drop: false }` [INFO] [stdout] aeccb58e1e9a68814cce9c03fca8ee7e012e7b0a20011b28d06fa9fa6028112b