[INFO] cloning repository https://github.com/funzoo/csvc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/funzoo/csvc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunzoo%2Fcsvc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunzoo%2Fcsvc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7bc64b0c411fc4b61d960c4c6ff3f45ca1ffbf6 [INFO] checking funzoo/csvc/a7bc64b0c411fc4b61d960c4c6ff3f45ca1ffbf6 against master#e3e432d4d65a55e6db167598e96db2bcb163e316 for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunzoo%2Fcsvc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/funzoo/csvc on toolchain e3e432d4d65a55e6db167598e96db2bcb163e316 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/funzoo/csvc [INFO] finished tweaking git repo https://github.com/funzoo/csvc [INFO] tweaked toml for git repo https://github.com/funzoo/csvc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/funzoo/csvc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.2.13 [INFO] [stderr] Downloaded structopt v0.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b9cc8b743fa2df6f481062c1180593c49415326a0f84768dd34b3259a2f225a [INFO] running `Command { std: "docker" "start" "-a" "6b9cc8b743fa2df6f481062c1180593c49415326a0f84768dd34b3259a2f225a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b9cc8b743fa2df6f481062c1180593c49415326a0f84768dd34b3259a2f225a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9cc8b743fa2df6f481062c1180593c49415326a0f84768dd34b3259a2f225a", kill_on_drop: false }` [INFO] [stdout] 6b9cc8b743fa2df6f481062c1180593c49415326a0f84768dd34b3259a2f225a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] badfb00e7bed78dded1985931850a1747d8d7acd800fbd384c258486c5a52993 [INFO] running `Command { std: "docker" "start" "-a" "badfb00e7bed78dded1985931850a1747d8d7acd800fbd384c258486c5a52993", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling structopt-derive v0.2.13 [INFO] [stderr] Checking structopt v0.2.13 [INFO] [stderr] Checking csvc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | fn infer_header_from_file(input_reader : &mut BufRead) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn infer_header_from_file(input_reader : &mut dyn BufRead) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | fn infer_header_from_file(input_reader : &mut BufRead) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn infer_header_from_file(input_reader : &mut dyn BufRead) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | let first_line = first_line.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 45 - let first_line = first_line.trim_right(); [INFO] [stdout] 45 + let first_line = first_line.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | let mut input_reader : Box = [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | let mut input_reader : Box = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | let toks : Vec<&str> = line.trim_right().split(&splitor_str).collect(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 146 - let toks : Vec<&str> = line.trim_right().split(&splitor_str).collect(); [INFO] [stdout] 146 + let toks : Vec<&str> = line.trim_end().split(&splitor_str).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | let first_line = first_line.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 45 - let first_line = first_line.trim_right(); [INFO] [stdout] 45 + let first_line = first_line.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | let mut input_reader : Box = [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | let mut input_reader : Box = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | let toks : Vec<&str> = line.trim_right().split(&splitor_str).collect(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 146 - let toks : Vec<&str> = line.trim_right().split(&splitor_str).collect(); [INFO] [stdout] 146 + let toks : Vec<&str> = line.trim_end().split(&splitor_str).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.51s [INFO] running `Command { std: "docker" "inspect" "badfb00e7bed78dded1985931850a1747d8d7acd800fbd384c258486c5a52993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "badfb00e7bed78dded1985931850a1747d8d7acd800fbd384c258486c5a52993", kill_on_drop: false }` [INFO] [stdout] badfb00e7bed78dded1985931850a1747d8d7acd800fbd384c258486c5a52993