[INFO] cloning repository https://github.com/kisia0916/block-chain-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kisia0916/block-chain-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkisia0916%2Fblock-chain-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkisia0916%2Fblock-chain-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ceb23c5d9377682963eed55bd7b7c03b3c9b486 [INFO] checking kisia0916/block-chain-demo against try#63132bd615c9bf75e93af8405d00064212331708 for pr-153975 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkisia0916%2Fblock-chain-demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kisia0916/block-chain-demo [INFO] finished tweaking git repo https://github.com/kisia0916/block-chain-demo [INFO] tweaked toml for git repo https://github.com/kisia0916/block-chain-demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kisia0916/block-chain-demo on toolchain 63132bd615c9bf75e93af8405d00064212331708 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kisia0916/block-chain-demo 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" "+63132bd615c9bf75e93af8405d00064212331708" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80d888a7111197cc965efbb368bad0ec3c6adae165b0db00fef7bfc784e11f34 [INFO] running `Command { std: "docker" "start" "-a" "80d888a7111197cc965efbb368bad0ec3c6adae165b0db00fef7bfc784e11f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80d888a7111197cc965efbb368bad0ec3c6adae165b0db00fef7bfc784e11f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d888a7111197cc965efbb368bad0ec3c6adae165b0db00fef7bfc784e11f34", kill_on_drop: false }` [INFO] [stdout] 80d888a7111197cc965efbb368bad0ec3c6adae165b0db00fef7bfc784e11f34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08bf435a00c31d0a7e033fde6bdefef191e2818ae69fafa0d4249ca131fb698a [INFO] running `Command { std: "docker" "start" "-a" "08bf435a00c31d0a7e033fde6bdefef191e2818ae69fafa0d4249ca131fb698a", kill_on_drop: false }` [INFO] [stderr] Checking block-chain-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `node_com` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct node_com { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NodeCom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `minor` should have an upper camel case name [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct minor { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Minor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `system_user` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct system_user { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SystemUser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `sys_list` should have an upper camel case name [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct sys_list { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `SysList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `node_com` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct node_com { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NodeCom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `minor` should have an upper camel case name [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct minor { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Minor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `system_user` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct system_user { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SystemUser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `sys_list` should have an upper camel case name [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct sys_list { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `SysList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut main_sys = init_system(&node_num,&minor_num,&system_user_num); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_sys` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut main_sys = init_system(&node_num,&minor_num,&system_user_num); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_sys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `ledger`, and `pool` are never read [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct node_com { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | id:String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | ledger:Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pool:Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `node_com` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct minor { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | id:String [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `minor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct system_user { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | id:String [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `system_user` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_com_list`, `minor_list`, and `system_user_list` are never read [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct sys_list { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | node_com_list:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | minor_list:Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | system_user_list:Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `sys_list` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut main_sys = init_system(&node_num,&minor_num,&system_user_num); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_sys` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut main_sys = init_system(&node_num,&minor_num,&system_user_num); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_sys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `ledger`, and `pool` are never read [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct node_com { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | id:String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | ledger:Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pool:Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `node_com` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct minor { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | id:String [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `minor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct system_user { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | id:String [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `system_user` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_com_list`, `minor_list`, and `system_user_list` are never read [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct sys_list { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | node_com_list:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | minor_list:Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | system_user_list:Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `sys_list` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "08bf435a00c31d0a7e033fde6bdefef191e2818ae69fafa0d4249ca131fb698a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08bf435a00c31d0a7e033fde6bdefef191e2818ae69fafa0d4249ca131fb698a", kill_on_drop: false }` [INFO] [stdout] 08bf435a00c31d0a7e033fde6bdefef191e2818ae69fafa0d4249ca131fb698a