[INFO] cloning repository https://github.com/whathegithub/Substrate_clap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whathegithub/Substrate_clap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhathegithub%2FSubstrate_clap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhathegithub%2FSubstrate_clap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e84616551968e855cdba6f72577f5fe79452e9e6 [INFO] checking whathegithub/Substrate_clap against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhathegithub%2FSubstrate_clap" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whathegithub/Substrate_clap on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/whathegithub/Substrate_clap [INFO] finished tweaking git repo https://github.com/whathegithub/Substrate_clap [INFO] tweaked toml for git repo https://github.com/whathegithub/Substrate_clap written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/whathegithub/Substrate_clap already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58242ac5e91d5f4da6f6602cfd485e146c1cf1b0eaebe3235978110d02a43d3f [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" "58242ac5e91d5f4da6f6602cfd485e146c1cf1b0eaebe3235978110d02a43d3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58242ac5e91d5f4da6f6602cfd485e146c1cf1b0eaebe3235978110d02a43d3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58242ac5e91d5f4da6f6602cfd485e146c1cf1b0eaebe3235978110d02a43d3f", kill_on_drop: false }` [INFO] [stdout] 58242ac5e91d5f4da6f6602cfd485e146c1cf1b0eaebe3235978110d02a43d3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed866fb6f2c325700845a368dd344227a3fc481e19bb7e4638b47497f5180644 [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" "ed866fb6f2c325700845a368dd344227a3fc481e19bb7e4638b47497f5180644", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking structopt_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Custom_format_print` should have an upper camel case name [INFO] [stdout] --> src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | trait Custom_format_print { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CustomFormatPrint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cus_print` should have an upper camel case name [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct Cus_print { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CusPrint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Custom_format_print` should have an upper camel case name [INFO] [stdout] --> src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | trait Custom_format_print { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CustomFormatPrint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cus_print` should have an upper camel case name [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct Cus_print { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CusPrint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut str = data.split("1"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newObj` should have a snake case name [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let newObj = s1;//所有权转移 <-- [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_obj` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut str = data.split("1"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newObj` should have a snake case name [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let newObj = s1;//所有权转移 <-- [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_obj` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.59s [INFO] running `Command { std: "docker" "inspect" "ed866fb6f2c325700845a368dd344227a3fc481e19bb7e4638b47497f5180644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed866fb6f2c325700845a368dd344227a3fc481e19bb7e4638b47497f5180644", kill_on_drop: false }` [INFO] [stdout] ed866fb6f2c325700845a368dd344227a3fc481e19bb7e4638b47497f5180644