[INFO] fetching crate parsepatch 0.2.8... [INFO] checking parsepatch-0.2.8 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate parsepatch 0.2.8 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate parsepatch 0.2.8 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parsepatch 0.2.8 [INFO] finished tweaking crates.io crate parsepatch 0.2.8 [INFO] tweaked toml for crates.io crate parsepatch 0.2.8 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09f3582ca655949981c1169dbb49e94471da92103de771b4c79ee1bb6f68c3b8 [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" "09f3582ca655949981c1169dbb49e94471da92103de771b4c79ee1bb6f68c3b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09f3582ca655949981c1169dbb49e94471da92103de771b4c79ee1bb6f68c3b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f3582ca655949981c1169dbb49e94471da92103de771b4c79ee1bb6f68c3b8", kill_on_drop: false }` [INFO] [stdout] 09f3582ca655949981c1169dbb49e94471da92103de771b4c79ee1bb6f68c3b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e6bd96645b257421d25f91e1d21c61d935ab12e3f72b503b6943dfb6dad7e6f [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" "6e6bd96645b257421d25f91e1d21c61d935ab12e3f72b503b6943dfb6dad7e6f", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking chardet v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking subprocess v0.1.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking parsepatch v0.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking hglib-rs v0.1.1 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | / format!( [INFO] [stdout] 240 | | "Not the same filename: {} ({} expected)", [INFO] [stdout] 241 | | cp.filename, cj.filename [INFO] [stdout] 242 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 239 | [INFO] [stdout] 240 | "Not the same filename: {} ({} expected)", [INFO] [stdout] 241 | cp.filename, cj.filename [INFO] [stdout] 242 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | / format!( [INFO] [stdout] 247 | | "Not renamed/copied (in {}): {:?} {:?} {:?}", [INFO] [stdout] 248 | | cp.filename, cj.copied_from, cp.renamed_from, cp.copied_from [INFO] [stdout] 249 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 246 | [INFO] [stdout] 247 | "Not renamed/copied (in {}): {:?} {:?} {:?}", [INFO] [stdout] 248 | cp.filename, cj.copied_from, cp.renamed_from, cp.copied_from [INFO] [stdout] 249 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | / format!( [INFO] [stdout] 254 | | "Not the same length for hunks: {} ({} expected)", [INFO] [stdout] 255 | | cp.hunks.len(), [INFO] [stdout] 256 | | cj.hunks.len() [INFO] [stdout] 257 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 253 | [INFO] [stdout] 254 | "Not the same length for hunks: {} ({} expected)", [INFO] [stdout] 255 | cp.hunks.len(), [INFO] [stdout] 256 | cj.hunks.len() [INFO] [stdout] 257 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | / format!( [INFO] [stdout] 263 | | "Not the same length for changed lines: {} ({} expected)", [INFO] [stdout] 264 | | hp.lines.len(), [INFO] [stdout] 265 | | hj.lines.len() [INFO] [stdout] 266 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 262 | [INFO] [stdout] 263 | "Not the same length for changed lines: {} ({} expected)", [INFO] [stdout] 264 | hp.lines.len(), [INFO] [stdout] 265 | hj.lines.len() [INFO] [stdout] 266 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | format!("Not the same line change: {:?} ({:?} expected", lp, lj) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 271 | "Not the same line change: {:?} ({:?} expected", lp, lj [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.04s [INFO] running `Command { std: "docker" "inspect" "6e6bd96645b257421d25f91e1d21c61d935ab12e3f72b503b6943dfb6dad7e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6bd96645b257421d25f91e1d21c61d935ab12e3f72b503b6943dfb6dad7e6f", kill_on_drop: false }` [INFO] [stdout] 6e6bd96645b257421d25f91e1d21c61d935ab12e3f72b503b6943dfb6dad7e6f