[INFO] cloning repository https://github.com/tsloughter/erls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsloughter/erls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsloughter%2Ferls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsloughter%2Ferls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dadfd593e158791b50d76bcbfcd37441f74d1267 [INFO] testing tsloughter/erls against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsloughter%2Ferls" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tsloughter/erls on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tsloughter/erls [INFO] finished tweaking git repo https://github.com/tsloughter/erls [INFO] tweaked toml for git repo https://github.com/tsloughter/erls written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tsloughter/erls 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tar v0.4.20 [INFO] [stderr] Downloaded console v0.7.5 [INFO] [stderr] Downloaded memchr v2.1.3 [INFO] [stderr] Downloaded rand v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ab8fa641831654c0cf5a89b40ec1e8ef8e456f28e74964a649e395ce65ef775 [INFO] running `Command { std: "docker" "start" "-a" "9ab8fa641831654c0cf5a89b40ec1e8ef8e456f28e74964a649e395ce65ef775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ab8fa641831654c0cf5a89b40ec1e8ef8e456f28e74964a649e395ce65ef775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab8fa641831654c0cf5a89b40ec1e8ef8e456f28e74964a649e395ce65ef775", kill_on_drop: false }` [INFO] [stdout] 9ab8fa641831654c0cf5a89b40ec1e8ef8e456f28e74964a649e395ce65ef775 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acfde355c06e187bffe8167690978682d487a4a27a920e117c01368bb6031a88 [INFO] running `Command { std: "docker" "start" "-a" "acfde355c06e187bffe8167690978682d487a4a27a920e117c01368bb6031a88", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling rand v0.4.5 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling tar v0.4.20 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling console v0.7.5 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling indicatif v0.11.0 [INFO] [stderr] Compiling erls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/config.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | for s in erls { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 46 - for s in erls { [INFO] [stdout] 46 + while let Some(s) = erls { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 46 - for s in erls { [INFO] [stdout] 46 + if let Some(s) = erls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.53s [INFO] running `Command { std: "docker" "inspect" "acfde355c06e187bffe8167690978682d487a4a27a920e117c01368bb6031a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acfde355c06e187bffe8167690978682d487a4a27a920e117c01368bb6031a88", kill_on_drop: false }` [INFO] [stdout] acfde355c06e187bffe8167690978682d487a4a27a920e117c01368bb6031a88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7910c3997b2d808657359e22bf69a7b3be00b2184b54c026205f4070ab5fa28e [INFO] running `Command { std: "docker" "start" "-a" "7910c3997b2d808657359e22bf69a7b3be00b2184b54c026205f4070ab5fa28e", kill_on_drop: false }` [INFO] [stderr] Compiling erls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/config.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | for s in erls { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 46 - for s in erls { [INFO] [stdout] 46 + while let Some(s) = erls { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 46 - for s in erls { [INFO] [stdout] 46 + if let Some(s) = erls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "7910c3997b2d808657359e22bf69a7b3be00b2184b54c026205f4070ab5fa28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7910c3997b2d808657359e22bf69a7b3be00b2184b54c026205f4070ab5fa28e", kill_on_drop: false }` [INFO] [stdout] 7910c3997b2d808657359e22bf69a7b3be00b2184b54c026205f4070ab5fa28e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46c62a34d835219d196407e3692348a0f7752cc960f53c7f2dd388c1dd125b89 [INFO] running `Command { std: "docker" "start" "-a" "46c62a34d835219d196407e3692348a0f7752cc960f53c7f2dd388c1dd125b89", kill_on_drop: false }` [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/config.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | for s in erls { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 46 - for s in erls { [INFO] [stderr] 46 + while let Some(s) = erls { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 46 - for s in erls { [INFO] [stderr] 46 + if let Some(s) = erls { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `erls` (bin "erls" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/erls-eb5460b31694e4b2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46c62a34d835219d196407e3692348a0f7752cc960f53c7f2dd388c1dd125b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c62a34d835219d196407e3692348a0f7752cc960f53c7f2dd388c1dd125b89", kill_on_drop: false }` [INFO] [stdout] 46c62a34d835219d196407e3692348a0f7752cc960f53c7f2dd388c1dd125b89