[INFO] cloning repository https://github.com/guobin211/play-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guobin211/play-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguobin211%2Fplay-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguobin211%2Fplay-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e81811cae26f380c85b45a0c66a9b8d3efdbfdb7 [INFO] checking guobin211/play-rust against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguobin211%2Fplay-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guobin211/play-rust on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/guobin211/play-rust [INFO] finished tweaking git repo https://github.com/guobin211/play-rust [INFO] tweaked toml for git repo https://github.com/guobin211/play-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/guobin211/play-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f9a6685188bc9c510f4a744be5d965839e77adfee028ad157778e9c8319446cd [INFO] running `Command { std: "docker" "start" "-a" "f9a6685188bc9c510f4a744be5d965839e77adfee028ad157778e9c8319446cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9a6685188bc9c510f4a744be5d965839e77adfee028ad157778e9c8319446cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9a6685188bc9c510f4a744be5d965839e77adfee028ad157778e9c8319446cd", kill_on_drop: false }` [INFO] [stdout] f9a6685188bc9c510f4a744be5d965839e77adfee028ad157778e9c8319446cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 844c319b14af77df6f63e7c7c03d859ab7e741a9fe8f9193a31df7be76507be9 [INFO] running `Command { std: "docker" "start" "-a" "844c319b14af77df6f63e7c7c03d859ab7e741a9fe8f9193a31df7be76507be9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking play-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `types_mod::types` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use types_mod::types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_mod::user` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use user_mod::user; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types_mod::types` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use types_mod::types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_mod::user` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use user_mod::user; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/types_mod/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_copy` [INFO] [stdout] --> src/types_mod/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn string_copy() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number_size` [INFO] [stdout] --> src/types_mod/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn number_size() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number_string` [INFO] [stdout] --> src/types_mod/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn number_string() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tuple` [INFO] [stdout] --> src/types_mod/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn tuple() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/user_mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_name` [INFO] [stdout] --> src/user_mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/user_mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_user` [INFO] [stdout] --> src/user_mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn create_user(name: String, sign: u64) -> User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/types_mod/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_copy` [INFO] [stdout] --> src/types_mod/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn string_copy() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number_size` [INFO] [stdout] --> src/types_mod/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn number_size() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number_string` [INFO] [stdout] --> src/types_mod/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn number_string() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tuple` [INFO] [stdout] --> src/types_mod/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn tuple() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/user_mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_name` [INFO] [stdout] --> src/user_mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/user_mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_user` [INFO] [stdout] --> src/user_mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn create_user(name: String, sign: u64) -> User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.89s [INFO] running `Command { std: "docker" "inspect" "844c319b14af77df6f63e7c7c03d859ab7e741a9fe8f9193a31df7be76507be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844c319b14af77df6f63e7c7c03d859ab7e741a9fe8f9193a31df7be76507be9", kill_on_drop: false }` [INFO] [stdout] 844c319b14af77df6f63e7c7c03d859ab7e741a9fe8f9193a31df7be76507be9