[INFO] cloning repository https://github.com/wglane/Rust-Find [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wglane/Rust-Find" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwglane%2FRust-Find", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwglane%2FRust-Find'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3debadd8d0cd244fed5ddc7a6d7fe27525220fc [INFO] testing wglane/Rust-Find against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwglane%2FRust-Find" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wglane/Rust-Find [INFO] finished tweaking git repo https://github.com/wglane/Rust-Find [INFO] tweaked toml for git repo https://github.com/wglane/Rust-Find written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wglane/Rust-Find on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wglane/Rust-Find 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb05e3a65092a469774e825cc8255181dcefc446856ec8261b27d2a90daf99c1 [INFO] running `Command { std: "docker" "start" "-a" "cb05e3a65092a469774e825cc8255181dcefc446856ec8261b27d2a90daf99c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb05e3a65092a469774e825cc8255181dcefc446856ec8261b27d2a90daf99c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb05e3a65092a469774e825cc8255181dcefc446856ec8261b27d2a90daf99c1", kill_on_drop: false }` [INFO] [stdout] cb05e3a65092a469774e825cc8255181dcefc446856ec8261b27d2a90daf99c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7462148a568bc757d11bd8db4fdc436a507127f70d5eef5f751961bf384f6cb [INFO] running `Command { std: "docker" "start" "-a" "f7462148a568bc757d11bd8db4fdc436a507127f70d5eef5f751961bf384f6cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling rust-find v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `in_dir` is never read [INFO] [stdout] --> src/myfile.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyFile { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] 12 | in_dir: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyFile` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.49s [INFO] running `Command { std: "docker" "inspect" "f7462148a568bc757d11bd8db4fdc436a507127f70d5eef5f751961bf384f6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7462148a568bc757d11bd8db4fdc436a507127f70d5eef5f751961bf384f6cb", kill_on_drop: false }` [INFO] [stdout] f7462148a568bc757d11bd8db4fdc436a507127f70d5eef5f751961bf384f6cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b72d8e502b76d211de7706daa398518d3c899ef34bc6de441cb2a5f6828bd84 [INFO] running `Command { std: "docker" "start" "-a" "6b72d8e502b76d211de7706daa398518d3c899ef34bc6de441cb2a5f6828bd84", kill_on_drop: false }` [INFO] [stderr] Compiling rust-find v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `in_dir` is never read [INFO] [stdout] --> src/myfile.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyFile { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] 12 | in_dir: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyFile` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "6b72d8e502b76d211de7706daa398518d3c899ef34bc6de441cb2a5f6828bd84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b72d8e502b76d211de7706daa398518d3c899ef34bc6de441cb2a5f6828bd84", kill_on_drop: false }` [INFO] [stdout] 6b72d8e502b76d211de7706daa398518d3c899ef34bc6de441cb2a5f6828bd84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 212a0590028f73ed7cfe2c555ec4bc93d773d0c7d7961d188bd565399874d7ed [INFO] running `Command { std: "docker" "start" "-a" "212a0590028f73ed7cfe2c555ec4bc93d773d0c7d7961d188bd565399874d7ed", kill_on_drop: false }` [INFO] [stderr] warning: field `in_dir` is never read [INFO] [stderr] --> src/myfile.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct MyFile { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 11 | pub name: String, [INFO] [stderr] 12 | in_dir: PathBuf, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MyFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-find` (bin "rust-find" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_find-1fb5c1cf2d144b1a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test myfile::test_is_match ... ok [INFO] [stdout] test test_parse_regex_with_warn ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "212a0590028f73ed7cfe2c555ec4bc93d773d0c7d7961d188bd565399874d7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "212a0590028f73ed7cfe2c555ec4bc93d773d0c7d7961d188bd565399874d7ed", kill_on_drop: false }` [INFO] [stdout] 212a0590028f73ed7cfe2c555ec4bc93d773d0c7d7961d188bd565399874d7ed