[INFO] cloning repository https://github.com/diohpix/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diohpix/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiohpix%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiohpix%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bad6ebcd5c32626e94ab6923f5920ffaa4a7bcb6 [INFO] checking diohpix/rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiohpix%2Frust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diohpix/rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/diohpix/rust [INFO] finished tweaking git repo https://github.com/diohpix/rust [INFO] tweaked toml for git repo https://github.com/diohpix/rust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/diohpix/rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_codegen_internals v0.11.3 [INFO] [stderr] Downloaded serde_codegen v0.8.23 [INFO] [stderr] Downloaded serde_derive v0.8.23 [INFO] [stderr] Downloaded hex-slice v0.1.2 [INFO] [stderr] Downloaded bincode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bd15b4741646b290c4f1e3d2e0c1f667eac3d2e942c14cc57e3218bb4504d77 [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" "0bd15b4741646b290c4f1e3d2e0c1f667eac3d2e942c14cc57e3218bb4504d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bd15b4741646b290c4f1e3d2e0c1f667eac3d2e942c14cc57e3218bb4504d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd15b4741646b290c4f1e3d2e0c1f667eac3d2e942c14cc57e3218bb4504d77", kill_on_drop: false }` [INFO] [stdout] 0bd15b4741646b290c4f1e3d2e0c1f667eac3d2e942c14cc57e3218bb4504d77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7db0267fbe615c74f9804ad1b728a4d3c6a07302f6d002875e1ca97a019d2188 [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" "7db0267fbe615c74f9804ad1b728a4d3c6a07302f6d002875e1ca97a019d2188", kill_on_drop: false }` [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Checking hex-slice v0.1.2 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling serde_codegen_internals v0.11.3 [INFO] [stderr] Compiling serde_codegen v0.8.23 [INFO] [stderr] Checking bincode v0.6.1 [INFO] [stderr] Compiling serde_derive v0.8.23 [INFO] [stderr] Checking sample v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hex_slice::AsHex` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hex_slice::AsHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Serializer, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `func` should have an upper camel case name [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct func{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `basefunc` should have an upper camel case name [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct basefunc{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Basefunc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Serializer, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/main.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Serializer, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_slice::AsHex` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hex_slice::AsHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Serializer, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `func` should have an upper camel case name [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct func{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `basefunc` should have an upper camel case name [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct basefunc{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Basefunc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response2` [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let response2 = get_program(&stream); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_count` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let result_count = read_short(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_len` [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let result_len = read_short(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_start` [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let func_start = read_short(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_type` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let func_type = read_int(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_len` [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let data_len = read_short(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blk` [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let blk = read_int(&mut body,&mut pos); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cnc_rdexecprog` [INFO] [stdout] --> src/main.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn cnc_rdexecprog(vec : &mut Vec ){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Serializer, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/main.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Serializer, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response2` [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let response2 = get_program(&stream); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_count` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let result_count = read_short(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_len` [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let result_len = read_short(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_start` [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let func_start = read_short(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_type` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let func_type = read_int(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_len` [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let data_len = read_short(&mut body,&mut pos); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blk` [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let blk = read_int(&mut body,&mut pos); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cnc_rdexecprog` [INFO] [stdout] --> src/main.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn cnc_rdexecprog(vec : &mut Vec ){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.39s [INFO] running `Command { std: "docker" "inspect" "7db0267fbe615c74f9804ad1b728a4d3c6a07302f6d002875e1ca97a019d2188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db0267fbe615c74f9804ad1b728a4d3c6a07302f6d002875e1ca97a019d2188", kill_on_drop: false }` [INFO] [stdout] 7db0267fbe615c74f9804ad1b728a4d3c6a07302f6d002875e1ca97a019d2188