[INFO] cloning repository https://github.com/dopeter/rust_sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dopeter/rust_sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdopeter%2Frust_sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdopeter%2Frust_sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f7d4afe11818870d0599e96a0e6cc5a21af6283 [INFO] checking dopeter/rust_sample against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdopeter%2Frust_sample" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dopeter/rust_sample on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dopeter/rust_sample [INFO] finished tweaking git repo https://github.com/dopeter/rust_sample [INFO] tweaked toml for git repo https://github.com/dopeter/rust_sample written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/dopeter/rust_sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c753fea53fa5f15f12bdbd7f23048ff72dbc01957067f94da4a2aa4eae72e598 [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" "c753fea53fa5f15f12bdbd7f23048ff72dbc01957067f94da4a2aa4eae72e598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c753fea53fa5f15f12bdbd7f23048ff72dbc01957067f94da4a2aa4eae72e598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c753fea53fa5f15f12bdbd7f23048ff72dbc01957067f94da4a2aa4eae72e598", kill_on_drop: false }` [INFO] [stdout] c753fea53fa5f15f12bdbd7f23048ff72dbc01957067f94da4a2aa4eae72e598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e295fc83b7ba3fdb72d7e3babf88a58a640c39ce9457b99c98acfa50903c8a4 [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" "6e295fc83b7ba3fdb72d7e3babf88a58a640c39ce9457b99c98acfa50903c8a4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking hello_world_rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (6 fixes) [INFO] [stdout] warning: function is never used: `test_open_file` [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_open_file(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn read_username_from_file() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeId` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | nodeId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeName` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | nodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeNums` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | nodeNums: usize, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeId` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(nodeId: usize, nodeName: String) -> Node { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeName` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(nodeId: usize, nodeName: String) -> Node { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_open_file` [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_open_file(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn read_username_from_file() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeId` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | nodeId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeName` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | nodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeNums` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | nodeNums: usize, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeId` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(nodeId: usize, nodeName: String) -> Node { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeName` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(nodeId: usize, nodeName: String) -> Node { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.33s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking hello_world_rust v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `test_open_file` [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_open_file(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn read_username_from_file() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeId` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | nodeId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeName` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | nodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeNums` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | nodeNums: usize, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeId` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(nodeId: usize, nodeName: String) -> Node { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeName` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(nodeId: usize, nodeName: String) -> Node { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_open_file` [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_open_file(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn read_username_from_file() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeId` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | nodeId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeName` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | nodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeNums` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | nodeNums: usize, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeId` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(nodeId: usize, nodeName: String) -> Node { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeName` should have a snake case name [INFO] [stdout] --> src/algorithms/data_structure/simply_graph.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(nodeId: usize, nodeName: String) -> Node { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "6e295fc83b7ba3fdb72d7e3babf88a58a640c39ce9457b99c98acfa50903c8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e295fc83b7ba3fdb72d7e3babf88a58a640c39ce9457b99c98acfa50903c8a4", kill_on_drop: false }` [INFO] [stdout] 6e295fc83b7ba3fdb72d7e3babf88a58a640c39ce9457b99c98acfa50903c8a4