[INFO] cloning repository https://github.com/vksmgr/read_file [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vksmgr/read_file" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2Fread_file", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2Fread_file'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f96ec36295573c4745725ddbaa5f3b90a4d72e4b [INFO] checking vksmgr/read_file against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2Fread_file" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vksmgr/read_file on toolchain 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vksmgr/read_file [INFO] finished tweaking git repo https://github.com/vksmgr/read_file [INFO] tweaked toml for git repo https://github.com/vksmgr/read_file written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/vksmgr/read_file already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9de5fd6af5f73ce3cdde7d67becf00e89bf7472c667125e50a0aadfa0e408766 [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" "9de5fd6af5f73ce3cdde7d67becf00e89bf7472c667125e50a0aadfa0e408766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9de5fd6af5f73ce3cdde7d67becf00e89bf7472c667125e50a0aadfa0e408766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de5fd6af5f73ce3cdde7d67becf00e89bf7472c667125e50a0aadfa0e408766", kill_on_drop: false }` [INFO] [stdout] 9de5fd6af5f73ce3cdde7d67becf00e89bf7472c667125e50a0aadfa0e408766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92f3a25ea2d0c370eba74af8232206db08817663b8ed3c3796399edee93cc932 [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" "92f3a25ea2d0c370eba74af8232206db08817663b8ed3c3796399edee93cc932", kill_on_drop: false }` [INFO] [stderr] Checking os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | let line = self.buf.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | let line = self.buf.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | read_all_lines("test.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | read_all_lines("test.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "92f3a25ea2d0c370eba74af8232206db08817663b8ed3c3796399edee93cc932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f3a25ea2d0c370eba74af8232206db08817663b8ed3c3796399edee93cc932", kill_on_drop: false }` [INFO] [stdout] 92f3a25ea2d0c370eba74af8232206db08817663b8ed3c3796399edee93cc932