[INFO] fetching crate openfile 1.1.0... [INFO] testing openfile-1.1.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate openfile 1.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate openfile 1.1.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openfile 1.1.0 [INFO] finished tweaking crates.io crate openfile 1.1.0 [INFO] tweaked toml for crates.io crate openfile 1.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 993c3144966d6bdb458a6c4f3144ce2ca1bc324a1425babbdd90ac35776ece9c [INFO] running `Command { std: "docker" "start" "-a" "993c3144966d6bdb458a6c4f3144ce2ca1bc324a1425babbdd90ac35776ece9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "993c3144966d6bdb458a6c4f3144ce2ca1bc324a1425babbdd90ac35776ece9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993c3144966d6bdb458a6c4f3144ce2ca1bc324a1425babbdd90ac35776ece9c", kill_on_drop: false }` [INFO] [stdout] 993c3144966d6bdb458a6c4f3144ce2ca1bc324a1425babbdd90ac35776ece9c [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0907b1c3c27ca308674d4b876792edd68edde173a6767b79885de21b57e765 [INFO] running `Command { std: "docker" "start" "-a" "2b0907b1c3c27ca308674d4b876792edd68edde173a6767b79885de21b57e765", kill_on_drop: false }` [INFO] [stderr] Compiling openfile v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn readFile(filename: &str) -> String{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFileLines` should have a snake case name [INFO] [stdout] --> src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn readFileLines(filename: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn writeFile(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileTransfer` should have a snake case name [INFO] [stdout] --> src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fileTransfer(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileSwap` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn fileSwap(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn removeFile(filename: &str)-> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFileBytes` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn writeFileBytes(names:&str, cont:Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn removeFile(fnm:&str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn readFile(names: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn writeFile(names:&str, cont:&str) -> i8 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFileLines` should have a snake case name [INFO] [stdout] --> src/filehand.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn readFileLines(fnm:&str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFileBytes` should have a snake case name [INFO] [stdout] --> src/filehand.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn writeFileBytes(names:&str, cont:Vec) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileTransfer` should have a snake case name [INFO] [stdout] --> src/filetransfer.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn fileTransfer(fnm:&str,fnm2:&str) -> i8{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileSwap` should have a snake case name [INFO] [stdout] --> src/filetransfer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fileSwap(fnm:&str,fnm2:&str) -> i8{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "2b0907b1c3c27ca308674d4b876792edd68edde173a6767b79885de21b57e765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0907b1c3c27ca308674d4b876792edd68edde173a6767b79885de21b57e765", kill_on_drop: false }` [INFO] [stdout] 2b0907b1c3c27ca308674d4b876792edd68edde173a6767b79885de21b57e765 [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b2529bbed3be9ea277a6873983df239e6abccd31ce4fa090b00ae53101464a6 [INFO] running `Command { std: "docker" "start" "-a" "7b2529bbed3be9ea277a6873983df239e6abccd31ce4fa090b00ae53101464a6", kill_on_drop: false }` [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn readFile(filename: &str) -> String{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openfile v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `readFileLines` should have a snake case name [INFO] [stdout] --> src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn readFileLines(filename: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn writeFile(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileTransfer` should have a snake case name [INFO] [stdout] --> src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fileTransfer(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileSwap` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn fileSwap(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn removeFile(filename: &str)-> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFileBytes` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn writeFileBytes(names:&str, cont:Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn removeFile(fnm:&str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn readFile(names: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn writeFile(names:&str, cont:&str) -> i8 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFileLines` should have a snake case name [INFO] [stdout] --> src/filehand.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn readFileLines(fnm:&str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFileBytes` should have a snake case name [INFO] [stdout] --> src/filehand.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn writeFileBytes(names:&str, cont:Vec) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileTransfer` should have a snake case name [INFO] [stdout] --> src/filetransfer.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn fileTransfer(fnm:&str,fnm2:&str) -> i8{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileSwap` should have a snake case name [INFO] [stdout] --> src/filetransfer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fileSwap(fnm:&str,fnm2:&str) -> i8{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn readFile(filename: &str) -> String{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFileLines` should have a snake case name [INFO] [stdout] --> src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn readFileLines(filename: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn writeFile(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileTransfer` should have a snake case name [INFO] [stdout] --> src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fileTransfer(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileSwap` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn fileSwap(filename: &str,content: &str) -> i8{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn removeFile(filename: &str)-> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFileBytes` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn writeFileBytes(names:&str, cont:Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn removeFile(fnm:&str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn readFile(names: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFile` should have a snake case name [INFO] [stdout] --> src/filehand.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn writeFile(names:&str, cont:&str) -> i8 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFileLines` should have a snake case name [INFO] [stdout] --> src/filehand.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn readFileLines(fnm:&str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFileBytes` should have a snake case name [INFO] [stdout] --> src/filehand.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn writeFileBytes(names:&str, cont:Vec) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileTransfer` should have a snake case name [INFO] [stdout] --> src/filetransfer.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn fileTransfer(fnm:&str,fnm2:&str) -> i8{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileSwap` should have a snake case name [INFO] [stdout] --> src/filetransfer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fileSwap(fnm:&str,fnm2:&str) -> i8{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "7b2529bbed3be9ea277a6873983df239e6abccd31ce4fa090b00ae53101464a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2529bbed3be9ea277a6873983df239e6abccd31ce4fa090b00ae53101464a6", kill_on_drop: false }` [INFO] [stdout] 7b2529bbed3be9ea277a6873983df239e6abccd31ce4fa090b00ae53101464a6 [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d998473f388a89c6762db653ea66cbd2811612a3e9e6adadded34eb3fe46cd4c [INFO] running `Command { std: "docker" "start" "-a" "d998473f388a89c6762db653ea66cbd2811612a3e9e6adadded34eb3fe46cd4c", kill_on_drop: false }` [INFO] [stderr] warning: function `readFile` should have a snake case name [INFO] [stderr] --> src/lib.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn readFile(filename: &str) -> String{ [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `readFileLines` should have a snake case name [INFO] [stderr] --> src/lib.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn readFileLines(filename: &str) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stderr] [INFO] [stderr] warning: function `writeFile` should have a snake case name [INFO] [stderr] --> src/lib.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn writeFile(filename: &str,content: &str) -> i8{ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stderr] [INFO] [stderr] warning: function `fileTransfer` should have a snake case name [INFO] [stderr] --> src/lib.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn fileTransfer(filename: &str,content: &str) -> i8{ [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stderr] [INFO] [stderr] warning: function `fileSwap` should have a snake case name [INFO] [stderr] --> src/lib.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn fileSwap(filename: &str,content: &str) -> i8{ [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stderr] [INFO] [stderr] warning: function `removeFile` should have a snake case name [INFO] [stderr] --> src/lib.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn removeFile(filename: &str)-> std::io::Result<()>{ [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stderr] [INFO] [stderr] warning: function `writeFileBytes` should have a snake case name [INFO] [stderr] --> src/lib.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn writeFileBytes(names:&str, cont:Vec){ [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stderr] [INFO] [stderr] warning: function `removeFile` should have a snake case name [INFO] [stderr] --> src/filehand.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn removeFile(fnm:&str) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stderr] [INFO] [stderr] warning: function `readFile` should have a snake case name [INFO] [stderr] --> src/filehand.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn readFile(names: &str) -> String { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stderr] [INFO] [stderr] warning: function `writeFile` should have a snake case name [INFO] [stderr] --> src/filehand.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn writeFile(names:&str, cont:&str) -> i8 { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stderr] [INFO] [stderr] warning: function `readFileLines` should have a snake case name [INFO] [stderr] --> src/filehand.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn readFileLines(fnm:&str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stderr] [INFO] [stderr] warning: function `writeFileBytes` should have a snake case name [INFO] [stderr] --> src/filehand.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn writeFileBytes(names:&str, cont:Vec) -> i8 { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stderr] [INFO] [stderr] warning: function `fileTransfer` should have a snake case name [INFO] [stderr] --> src/filetransfer.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn fileTransfer(fnm:&str,fnm2:&str) -> i8{ [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stderr] [INFO] [stderr] warning: function `fileSwap` should have a snake case name [INFO] [stderr] --> src/filetransfer.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn fileSwap(fnm:&str,fnm2:&str) -> i8{ [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stderr] [INFO] [stderr] warning: 14 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: function `readFile` should have a snake case name [INFO] [stderr] --> src/lib.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn readFile(filename: &str) -> String{ [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `readFileLines` should have a snake case name [INFO] [stderr] --> src/lib.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn readFileLines(filename: &str) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stderr] [INFO] [stderr] warning: function `writeFile` should have a snake case name [INFO] [stderr] --> src/lib.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn writeFile(filename: &str,content: &str) -> i8{ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stderr] [INFO] [stderr] warning: function `fileTransfer` should have a snake case name [INFO] [stderr] --> src/lib.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn fileTransfer(filename: &str,content: &str) -> i8{ [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stderr] [INFO] [stderr] warning: function `fileSwap` should have a snake case name [INFO] [stderr] --> src/lib.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn fileSwap(filename: &str,content: &str) -> i8{ [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stderr] [INFO] [stderr] warning: function `removeFile` should have a snake case name [INFO] [stderr] --> src/lib.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn removeFile(filename: &str)-> std::io::Result<()>{ [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stderr] [INFO] [stderr] warning: function `writeFileBytes` should have a snake case name [INFO] [stderr] --> src/lib.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn writeFileBytes(names:&str, cont:Vec){ [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stderr] [INFO] [stderr] warning: function `removeFile` should have a snake case name [INFO] [stderr] --> src/filehand.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn removeFile(fnm:&str) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_file` [INFO] [stderr] [INFO] [stderr] warning: function `readFile` should have a snake case name [INFO] [stderr] --> src/filehand.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn readFile(names: &str) -> String { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stderr] [INFO] [stderr] warning: function `writeFile` should have a snake case name [INFO] [stderr] --> src/filehand.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn writeFile(names:&str, cont:&str) -> i8 { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stderr] [INFO] [stderr] warning: function `readFileLines` should have a snake case name [INFO] [stderr] --> src/filehand.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn readFileLines(fnm:&str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_file_lines` [INFO] [stderr] [INFO] [stderr] warning: function `writeFileBytes` should have a snake case name [INFO] [stderr] --> src/filehand.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn writeFileBytes(names:&str, cont:Vec) -> i8 { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_file_bytes` [INFO] [stderr] [INFO] [stderr] warning: function `fileTransfer` should have a snake case name [INFO] [stderr] --> src/filetransfer.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn fileTransfer(fnm:&str,fnm2:&str) -> i8{ [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transfer` [INFO] [stderr] [INFO] [stderr] warning: function `fileSwap` should have a snake case name [INFO] [stderr] --> src/filetransfer.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn fileSwap(fnm:&str,fnm2:&str) -> i8{ [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `file_swap` [INFO] [stderr] [INFO] [stderr] warning: 14 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/openfile-ebba43371be8d9fa) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests openfile [INFO] [stdout] [INFO] [stdout] running 0 tests [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] running `Command { std: "docker" "inspect" "d998473f388a89c6762db653ea66cbd2811612a3e9e6adadded34eb3fe46cd4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d998473f388a89c6762db653ea66cbd2811612a3e9e6adadded34eb3fe46cd4c", kill_on_drop: false }` [INFO] [stdout] d998473f388a89c6762db653ea66cbd2811612a3e9e6adadded34eb3fe46cd4c