[INFO] fetching crate http_parser 0.0.2... [INFO] testing http_parser-0.0.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate http_parser 0.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate http_parser 0.0.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate http_parser 0.0.2 [INFO] finished tweaking crates.io crate http_parser 0.0.2 [INFO] tweaked toml for crates.io crate http_parser 0.0.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0dd23f7cf7874697e9229b4cba233e10a457e8ad6a85d4d7079817d6c70744e6 [INFO] running `Command { std: "docker" "start" "-a" "0dd23f7cf7874697e9229b4cba233e10a457e8ad6a85d4d7079817d6c70744e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dd23f7cf7874697e9229b4cba233e10a457e8ad6a85d4d7079817d6c70744e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd23f7cf7874697e9229b4cba233e10a457e8ad6a85d4d7079817d6c70744e6", kill_on_drop: false }` [INFO] [stdout] 0dd23f7cf7874697e9229b4cba233e10a457e8ad6a85d4d7079817d6c70744e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 985e6620bc554e65b1751b44dc120a9e8cad8fde5b7943ae5deaed4c902d10d7 [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" "985e6620bc554e65b1751b44dc120a9e8cad8fde5b7943ae5deaed4c902d10d7", kill_on_drop: false }` [INFO] [stderr] Compiling http_parser v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | ... ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:926:29 [INFO] [stdout] | [INFO] [stdout] 926 | ... ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "985e6620bc554e65b1751b44dc120a9e8cad8fde5b7943ae5deaed4c902d10d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985e6620bc554e65b1751b44dc120a9e8cad8fde5b7943ae5deaed4c902d10d7", kill_on_drop: false }` [INFO] [stdout] 985e6620bc554e65b1751b44dc120a9e8cad8fde5b7943ae5deaed4c902d10d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a63ca42c42ff106a5273b32e77e546cb00eec7f65ee2f3b6911a828200d7b99f [INFO] running `Command { std: "docker" "start" "-a" "a63ca42c42ff106a5273b32e77e546cb00eec7f65ee2f3b6911a828200d7b99f", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | ... ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http_parser v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:926:29 [INFO] [stdout] | [INFO] [stdout] 926 | ... ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | for i in (0..len ) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - for i in (0..len ) { [INFO] [stdout] 577 + for i in 0..len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | for _ in (0..error_location_line) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 607 - for _ in (0..error_location_line) { [INFO] [stdout] 607 + for _ in 0..error_location_line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | for i in (0..actual.headers.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 644 - for i in (0..actual.headers.len()) { [INFO] [stdout] 644 + for i in 0..actual.headers.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | for i in (0..raw_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 655 - for i in (0..raw_len) { [INFO] [stdout] 655 + for i in 0..raw_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:864:18 [INFO] [stdout] | [INFO] [stdout] 864 | for j in (2..total_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 864 - for j in (2..total_len) { [INFO] [stdout] 864 + for j in 2..total_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | for i in (1..j) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 865 - for i in (1..j) { [INFO] [stdout] 865 + for i in 1..j { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/test_responses.rs:777:14 [INFO] [stdout] | [INFO] [stdout] 777 | for _ in (0..body_size_in_kb) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 777 - for _ in (0..body_size_in_kb) { [INFO] [stdout] 777 + for _ in 0..body_size_in_kb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/test_responses.rs:779:18 [INFO] [stdout] | [INFO] [stdout] 779 | for _ in (0u32..1024u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 779 - for _ in (0u32..1024u32) { [INFO] [stdout] 779 + for _ in 0u32..1024u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | for i in (0..len ) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - for i in (0..len ) { [INFO] [stdout] 577 + for i in 0..len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | for _ in (0..error_location_line) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 607 - for _ in (0..error_location_line) { [INFO] [stdout] 607 + for _ in 0..error_location_line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | for i in (0..actual.headers.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 644 - for i in (0..actual.headers.len()) { [INFO] [stdout] 644 + for i in 0..actual.headers.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | for i in (0..raw_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 655 - for i in (0..raw_len) { [INFO] [stdout] 655 + for i in 0..raw_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:864:18 [INFO] [stdout] | [INFO] [stdout] 864 | for j in (2..total_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 864 - for j in (2..total_len) { [INFO] [stdout] 864 + for j in 2..total_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | for i in (1..j) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 865 - for i in (1..j) { [INFO] [stdout] 865 + for i in 1..j { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/test_long_body.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | for _ in (0..length) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - for _ in (0..length) { [INFO] [stdout] 35 + for _ in 0..length { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | ... ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:926:29 [INFO] [stdout] | [INFO] [stdout] 926 | ... ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | for i in (0..len ) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - for i in (0..len ) { [INFO] [stdout] 577 + for i in 0..len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | for _ in (0..error_location_line) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 607 - for _ in (0..error_location_line) { [INFO] [stdout] 607 + for _ in 0..error_location_line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | for i in (0..actual.headers.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 644 - for i in (0..actual.headers.len()) { [INFO] [stdout] 644 + for i in 0..actual.headers.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | for i in (0..raw_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 655 - for i in (0..raw_len) { [INFO] [stdout] 655 + for i in 0..raw_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:864:18 [INFO] [stdout] | [INFO] [stdout] 864 | for j in (2..total_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 864 - for j in (2..total_len) { [INFO] [stdout] 864 + for j in 2..total_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | for i in (1..j) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 865 - for i in (1..j) { [INFO] [stdout] 865 + for i in 1..j { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/test_content_length_overflow.rs:9:71 [INFO] [stdout] | [INFO] [stdout] 9 | format!("HTTP/1.1 200 OK\r\nContent-Length: {}\r\n\r\n", $len); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | let a = content_length!("1844674407370955160"); // 2^64 / 10 - 1 [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `content_length` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/test_content_length_overflow.rs:9:71 [INFO] [stdout] | [INFO] [stdout] 9 | format!("HTTP/1.1 200 OK\r\nContent-Length: {}\r\n\r\n", $len); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 22 | let b = content_length!("18446744073709551615"); // 2^64 - 1 [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `content_length` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/test_content_length_overflow.rs:9:71 [INFO] [stdout] | [INFO] [stdout] 9 | format!("HTTP/1.1 200 OK\r\nContent-Length: {}\r\n\r\n", $len); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 23 | let c = content_length!("18446744073709551616"); // 2^64 [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `content_length` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/test_content_length_overflow.rs:15:88 [INFO] [stdout] | [INFO] [stdout] 15 | format!("HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n{}\r\n...", $len); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | let a = chunk_content!("FFFFFFFFFFFFFFE"); // 2^64 / 16 - 1 [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chunk_content` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/test_content_length_overflow.rs:15:88 [INFO] [stdout] | [INFO] [stdout] 15 | format!("HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n{}\r\n...", $len); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 33 | let b = chunk_content!("FFFFFFFFFFFFFFFF"); // 2^64 - 1 [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chunk_content` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/test_content_length_overflow.rs:15:88 [INFO] [stdout] | [INFO] [stdout] 15 | format!("HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n{}\r\n...", $len); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | let c = chunk_content!("10000000000000000"); // 2^64 [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chunk_content` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | for i in (0..len ) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - for i in (0..len ) { [INFO] [stdout] 577 + for i in 0..len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | for _ in (0..error_location_line) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 607 - for _ in (0..error_location_line) { [INFO] [stdout] 607 + for _ in 0..error_location_line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | for i in (0..actual.headers.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 644 - for i in (0..actual.headers.len()) { [INFO] [stdout] 644 + for i in 0..actual.headers.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | for i in (0..raw_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 655 - for i in (0..raw_len) { [INFO] [stdout] 655 + for i in 0..raw_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:864:18 [INFO] [stdout] | [INFO] [stdout] 864 | for j in (2..total_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 864 - for j in (2..total_len) { [INFO] [stdout] 864 + for j in 2..total_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | for i in (1..j) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 865 - for i in (1..j) { [INFO] [stdout] 865 + for i in 1..j { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | for i in (0..len ) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - for i in (0..len ) { [INFO] [stdout] 577 + for i in 0..len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | for _ in (0..error_location_line) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 607 - for _ in (0..error_location_line) { [INFO] [stdout] 607 + for _ in 0..error_location_line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | for i in (0..actual.headers.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 644 - for i in (0..actual.headers.len()) { [INFO] [stdout] 644 + for i in 0..actual.headers.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | for i in (0..raw_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 655 - for i in (0..raw_len) { [INFO] [stdout] 655 + for i in 0..raw_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:864:18 [INFO] [stdout] | [INFO] [stdout] 864 | for j in (2..total_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 864 - for j in (2..total_len) { [INFO] [stdout] 864 + for j in 2..total_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | for i in (1..j) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 865 - for i in (1..j) { [INFO] [stdout] 865 + for i in 1..j { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | for i in (0..len ) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - for i in (0..len ) { [INFO] [stdout] 577 + for i in 0..len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | for _ in (0..error_location_line) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 607 - for _ in (0..error_location_line) { [INFO] [stdout] 607 + for _ in 0..error_location_line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | for i in (0..actual.headers.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 644 - for i in (0..actual.headers.len()) { [INFO] [stdout] 644 + for i in 0..actual.headers.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | for i in (0..raw_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 655 - for i in (0..raw_len) { [INFO] [stdout] 655 + for i in 0..raw_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:864:18 [INFO] [stdout] | [INFO] [stdout] 864 | for j in (2..total_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 864 - for j in (2..total_len) { [INFO] [stdout] 864 + for j in 2..total_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | for i in (1..j) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 865 - for i in (1..j) { [INFO] [stdout] 865 + for i in 1..j { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | for i in (0..len ) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - for i in (0..len ) { [INFO] [stdout] 577 + for i in 0..len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | for _ in (0..error_location_line) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 607 - for _ in (0..error_location_line) { [INFO] [stdout] 607 + for _ in 0..error_location_line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | for i in (0..actual.headers.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 644 - for i in (0..actual.headers.len()) { [INFO] [stdout] 644 + for i in 0..actual.headers.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | for i in (0..raw_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 655 - for i in (0..raw_len) { [INFO] [stdout] 655 + for i in 0..raw_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:864:18 [INFO] [stdout] | [INFO] [stdout] 864 | for j in (2..total_len) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 864 - for j in (2..total_len) { [INFO] [stdout] 864 + for j in 2..total_len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/helper.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | for i in (1..j) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 865 - for i in (1..j) { [INFO] [stdout] 865 + for i in 1..j { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.47s [INFO] running `Command { std: "docker" "inspect" "a63ca42c42ff106a5273b32e77e546cb00eec7f65ee2f3b6911a828200d7b99f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a63ca42c42ff106a5273b32e77e546cb00eec7f65ee2f3b6911a828200d7b99f", kill_on_drop: false }` [INFO] [stdout] a63ca42c42ff106a5273b32e77e546cb00eec7f65ee2f3b6911a828200d7b99f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d9008c79df1119abb46e065afe5f962c44f2267817531719ed514fb23d75903 [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" "3d9008c79df1119abb46e065afe5f962c44f2267817531719ed514fb23d75903", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/parser.rs:552:29 [INFO] [stderr] | [INFO] [stderr] 552 | ... ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/parser.rs:926:29 [INFO] [stderr] | [INFO] [stderr] 926 | ... ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: `http_parser` (lib) generated 2 warnings [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/helper.rs:577:14 [INFO] [stderr] | [INFO] [stderr] 577 | for i in (0..len ) { [INFO] [stderr] | ^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 577 - for i in (0..len ) { [INFO] [stderr] 577 + for i in 0..len { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/helper.rs:607:14 [INFO] [stderr] | [INFO] [stderr] 607 | for _ in (0..error_location_line) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 607 - for _ in (0..error_location_line) { [INFO] [stderr] 607 + for _ in 0..error_location_line { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/helper.rs:644:14 [INFO] [stderr] | [INFO] [stderr] 644 | for i in (0..actual.headers.len()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 644 - for i in (0..actual.headers.len()) { [INFO] [stderr] 644 + for i in 0..actual.headers.len() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/helper.rs:655:14 [INFO] [stderr] | [INFO] [stderr] 655 | for i in (0..raw_len) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 655 - for i in (0..raw_len) { [INFO] [stderr] 655 + for i in 0..raw_len { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/helper.rs:864:18 [INFO] [stderr] | [INFO] [stderr] 864 | for j in (2..total_len) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 864 - for j in (2..total_len) { [INFO] [stderr] 864 + for j in 2..total_len { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/helper.rs:865:22 [INFO] [stderr] | [INFO] [stderr] 865 | for i in (1..j) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 865 - for i in (1..j) { [INFO] [stderr] 865 + for i in 1..j { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `http_parser` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `http_parser` (test "test_first_line") generated 6 warnings [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/test_content_length_overflow.rs:9:71 [INFO] [stderr] | [INFO] [stderr] 9 | format!("HTTP/1.1 200 OK\r\nContent-Length: {}\r\n\r\n", $len); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 21 | let a = content_length!("1844674407370955160"); // 2^64 / 10 - 1 [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `content_length` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/test_content_length_overflow.rs:9:71 [INFO] [stderr] | [INFO] [stderr] 9 | format!("HTTP/1.1 200 OK\r\nContent-Length: {}\r\n\r\n", $len); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 22 | let b = content_length!("18446744073709551615"); // 2^64 - 1 [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `content_length` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/test_content_length_overflow.rs:9:71 [INFO] [stderr] | [INFO] [stderr] 9 | format!("HTTP/1.1 200 OK\r\nContent-Length: {}\r\n\r\n", $len); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 23 | let c = content_length!("18446744073709551616"); // 2^64 [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `content_length` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/test_content_length_overflow.rs:15:88 [INFO] [stderr] | [INFO] [stderr] 15 | format!("HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n{}\r\n...", $len); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 32 | let a = chunk_content!("FFFFFFFFFFFFFFE"); // 2^64 / 16 - 1 [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `chunk_content` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/test_content_length_overflow.rs:15:88 [INFO] [stderr] | [INFO] [stderr] 15 | format!("HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n{}\r\n...", $len); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 33 | let b = chunk_content!("FFFFFFFFFFFFFFFF"); // 2^64 - 1 [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `chunk_content` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/test_content_length_overflow.rs:15:88 [INFO] [stderr] | [INFO] [stderr] 15 | format!("HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n{}\r\n...", $len); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 34 | let c = chunk_content!("10000000000000000"); // 2^64 [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `chunk_content` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/test_long_body.rs:35:14 [INFO] [stderr] | [INFO] [stderr] 35 | for _ in (0..length) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 35 - for _ in (0..length) { [INFO] [stderr] 35 + for _ in 0..length { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/test_responses.rs:777:14 [INFO] [stderr] | [INFO] [stderr] 777 | for _ in (0..body_size_in_kb) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 777 - for _ in (0..body_size_in_kb) { [INFO] [stderr] 777 + for _ in 0..body_size_in_kb { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> tests/test_responses.rs:779:18 [INFO] [stderr] | [INFO] [stderr] 779 | for _ in (0u32..1024u32) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 779 - for _ in (0u32..1024u32) { [INFO] [stderr] 779 + for _ in 0u32..1024u32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: `http_parser` (test "test_content_length_overflow") generated 12 warnings (6 duplicates) [INFO] [stdout] running 0 tests [INFO] [stderr] warning: `http_parser` (test "test_long_body") generated 7 warnings (6 duplicates) [INFO] [stdout] [INFO] [stderr] warning: `http_parser` (test "helper") generated 6 warnings (6 duplicates) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: `http_parser` (test "test_requests") generated 6 warnings (6 duplicates) [INFO] [stdout] [INFO] [stderr] warning: `http_parser` (test "test_responses") generated 8 warnings (6 duplicates) [INFO] [stderr] warning: `http_parser` (test "test_header") generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/http_parser-3ff8f8538da74698) [INFO] [stdout] [INFO] [stderr] Running tests/helper.rs (/opt/rustwide/target/debug/deps/helper-a6001a45179233c2) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/test_content_length_overflow.rs (/opt/rustwide/target/debug/deps/test_content_length_overflow-c0ecf69fc5ea3722) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_chunk_content_length_overflow ... ok [INFO] [stdout] test test_header_content_length_overflow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/test_first_line.rs (/opt/rustwide/target/debug/deps/test_first_line-5f33bb704272c454) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_status_line ... ok [INFO] [stdout] test test_request_line ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_header.rs (/opt/rustwide/target/debug/deps/test_header-3f10ddbdee40d787) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_response_header ... ok [INFO] [stdout] test test_request_header ... ok [INFO] [stdout] test test_request_header_overflow ... ok [INFO] [stdout] test test_response_header_overflow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/test_interface.rs (/opt/rustwide/target/debug/deps/test_interface-9dbc369ea20b894d) [INFO] [stderr] Running tests/test_long_body.rs (/opt/rustwide/target/debug/deps/test_long_body-40079982bf526a34) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_interface ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_no_overflow_long_body_request ... ok [INFO] [stdout] test test_no_overflow_long_body_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/test_requests.rs (/opt/rustwide/target/debug/deps/test_requests-c3b4f2f54a909e4b) [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/test_responses.rs (/opt/rustwide/target/debug/deps/test_responses-ca8fee230d8853d0) [INFO] [stdout] test test_requests ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 17.87s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_responses ... ok [INFO] [stderr] Doc-tests http_parser [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 31.27s [INFO] [stdout] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> /opt/rustwide/workdir/src/parser.rs:552:29 [INFO] [stderr] | [INFO] [stderr] 552 | ... ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> /opt/rustwide/workdir/src/parser.rs:926:29 [INFO] [stderr] | [INFO] [stderr] 926 | ... ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 43) ... ok [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] test src/lib.rs - (line 36) ... ok [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/parser.rs - parser::HttpParser::new (line 197) ... ok [INFO] [stdout] test src/callback.rs - callback::HttpParserCallback (line 20) ... ok [INFO] [stdout] test src/parser.rs - parser::HttpParser::execute (line 227) ... ok [INFO] [stdout] test src/parser.rs - parser::HttpParser (line 29) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3d9008c79df1119abb46e065afe5f962c44f2267817531719ed514fb23d75903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9008c79df1119abb46e065afe5f962c44f2267817531719ed514fb23d75903", kill_on_drop: false }` [INFO] [stdout] 3d9008c79df1119abb46e065afe5f962c44f2267817531719ed514fb23d75903