[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdopeter%2Frust_sample" "/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/dopeter/rust_sample on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7dd5c0ca94cc95d0006efd02c33223103804f3ee45468b3087e7dffe27a7d11 [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" "a7dd5c0ca94cc95d0006efd02c33223103804f3ee45468b3087e7dffe27a7d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7dd5c0ca94cc95d0006efd02c33223103804f3ee45468b3087e7dffe27a7d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7dd5c0ca94cc95d0006efd02c33223103804f3ee45468b3087e7dffe27a7d11", kill_on_drop: false }` [INFO] [stdout] a7dd5c0ca94cc95d0006efd02c33223103804f3ee45468b3087e7dffe27a7d11 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55b9de266e84121c3de313ac6fe9e1babe12899d6f39728f40d0c7c42ebb6ae6 [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" "55b9de266e84121c3de313ac6fe9e1babe12899d6f39728f40d0c7c42ebb6ae6", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking hello_world_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithms::data_structure::priority_queue` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use algorithms::data_structure::priority_queue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_open_file(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | fn read_username_from_file() -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithms::data_structure::priority_queue` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use algorithms::data_structure::priority_queue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_open_file(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | fn read_username_from_file() -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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: 13 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "55b9de266e84121c3de313ac6fe9e1babe12899d6f39728f40d0c7c42ebb6ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b9de266e84121c3de313ac6fe9e1babe12899d6f39728f40d0c7c42ebb6ae6", kill_on_drop: false }` [INFO] [stdout] 55b9de266e84121c3de313ac6fe9e1babe12899d6f39728f40d0c7c42ebb6ae6