[INFO] cloning repository https://github.com/matszczygiel/casec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matszczygiel/casec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatszczygiel%2Fcasec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatszczygiel%2Fcasec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3665200daed8b138604a9bbae8582dd8ad82f9b [INFO] testing matszczygiel/casec against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatszczygiel%2Fcasec" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matszczygiel/casec on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matszczygiel/casec [INFO] finished tweaking git repo https://github.com/matszczygiel/casec [INFO] tweaked toml for git repo https://github.com/matszczygiel/casec written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matszczygiel/casec 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9eba68e37dceacc2aec7f699fd51a2e16bf0fb35bb863e79b860c1ad8d9a4e03 [INFO] running `Command { std: "docker" "start" "-a" "9eba68e37dceacc2aec7f699fd51a2e16bf0fb35bb863e79b860c1ad8d9a4e03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eba68e37dceacc2aec7f699fd51a2e16bf0fb35bb863e79b860c1ad8d9a4e03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eba68e37dceacc2aec7f699fd51a2e16bf0fb35bb863e79b860c1ad8d9a4e03", kill_on_drop: false }` [INFO] [stdout] 9eba68e37dceacc2aec7f699fd51a2e16bf0fb35bb863e79b860c1ad8d9a4e03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed6441a0254ab79956874ef872bd8bb65e2a44ee476f7db3c6ec3cf8af80f919 [INFO] running `Command { std: "docker" "start" "-a" "ed6441a0254ab79956874ef872bd8bb65e2a44ee476f7db3c6ec3cf8af80f919", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling casec v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Replacer` is never constructed [INFO] [stdout] --> src/converter.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct Replacer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append_cammel` and `append_snake` are never used [INFO] [stdout] --> src/converter.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Replacer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 77 | fn append_cammel(&self, chars: Chars, dst: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn append_snake(&self, chars: Chars, dst: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.79s [INFO] running `Command { std: "docker" "inspect" "ed6441a0254ab79956874ef872bd8bb65e2a44ee476f7db3c6ec3cf8af80f919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed6441a0254ab79956874ef872bd8bb65e2a44ee476f7db3c6ec3cf8af80f919", kill_on_drop: false }` [INFO] [stdout] ed6441a0254ab79956874ef872bd8bb65e2a44ee476f7db3c6ec3cf8af80f919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48fd4bb1a764f53c5b0faff2daaab070c4c86b5bbde84b4a98309d6fd4ddefef [INFO] running `Command { std: "docker" "start" "-a" "48fd4bb1a764f53c5b0faff2daaab070c4c86b5bbde84b4a98309d6fd4ddefef", kill_on_drop: false }` [INFO] [stderr] Compiling casec v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Replacer` is never constructed [INFO] [stdout] --> src/converter.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct Replacer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append_cammel` and `append_snake` are never used [INFO] [stdout] --> src/converter.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Replacer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 77 | fn append_cammel(&self, chars: Chars, dst: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn append_snake(&self, chars: Chars, dst: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "48fd4bb1a764f53c5b0faff2daaab070c4c86b5bbde84b4a98309d6fd4ddefef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48fd4bb1a764f53c5b0faff2daaab070c4c86b5bbde84b4a98309d6fd4ddefef", kill_on_drop: false }` [INFO] [stdout] 48fd4bb1a764f53c5b0faff2daaab070c4c86b5bbde84b4a98309d6fd4ddefef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 127809087eaa58e526ccf6c1c573f0fcad76f79e70814f0c7c719e3e633bee31 [INFO] running `Command { std: "docker" "start" "-a" "127809087eaa58e526ccf6c1c573f0fcad76f79e70814f0c7c719e3e633bee31", kill_on_drop: false }` [INFO] [stderr] warning: struct `Replacer` is never constructed [INFO] [stderr] --> src/converter.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | struct Replacer { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `append_cammel` and `append_snake` are never used [INFO] [stderr] --> src/converter.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 76 | impl Replacer { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 77 | fn append_cammel(&self, chars: Chars, dst: &mut String) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | fn append_snake(&self, chars: Chars, dst: &mut String) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `casec` (bin "casec" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/casec-fddbf76593c5631b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test converter::tests::cammel_to_snake ... ok [INFO] [stdout] test converter::tests::snake_to_cammel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "127809087eaa58e526ccf6c1c573f0fcad76f79e70814f0c7c719e3e633bee31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127809087eaa58e526ccf6c1c573f0fcad76f79e70814f0c7c719e3e633bee31", kill_on_drop: false }` [INFO] [stdout] 127809087eaa58e526ccf6c1c573f0fcad76f79e70814f0c7c719e3e633bee31