[INFO] cloning repository https://github.com/gothburz/Rust-FileType-Example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gothburz/Rust-FileType-Example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgothburz%2FRust-FileType-Example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgothburz%2FRust-FileType-Example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 273438658a99cedc0e76860e2cbaadf144a38de2 [INFO] checking gothburz/Rust-FileType-Example against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgothburz%2FRust-FileType-Example" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gothburz/Rust-FileType-Example on toolchain ef5216c337126ffe24d074826f4023948c4a9b8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gothburz/Rust-FileType-Example [INFO] finished tweaking git repo https://github.com/gothburz/Rust-FileType-Example [INFO] tweaked toml for git repo https://github.com/gothburz/Rust-FileType-Example written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gothburz/Rust-FileType-Example 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" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f81b98933825c6340757b53ce41fe563254d2d3ad5de37d0d7278675b8c1e07 [INFO] running `Command { std: "docker" "start" "-a" "9f81b98933825c6340757b53ce41fe563254d2d3ad5de37d0d7278675b8c1e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f81b98933825c6340757b53ce41fe563254d2d3ad5de37d0d7278675b8c1e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f81b98933825c6340757b53ce41fe563254d2d3ad5de37d0d7278675b8c1e07", kill_on_drop: false }` [INFO] [stdout] 9f81b98933825c6340757b53ce41fe563254d2d3ad5de37d0d7278675b8c1e07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a92ba28a04080547b15d19e8ed6ccac90ad5ecc0db9aa7e0f99d1045f40e9c32 [INFO] running `Command { std: "docker" "start" "-a" "a92ba28a04080547b15d19e8ed6ccac90ad5ecc0db9aa7e0f99d1045f40e9c32", kill_on_drop: false }` [INFO] [stderr] Checking FileType v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `file` should have an upper case name [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | const file: &str = "./test/example.txt"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `FILE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `file` should have an upper case name [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | const file: &str = "./test/example.txt"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `FILE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dir` should have an upper case name [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | const dir: &str = "./test"; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `DIR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dir` should have an upper case name [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | const dir: &str = "./test"; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `DIR` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "a92ba28a04080547b15d19e8ed6ccac90ad5ecc0db9aa7e0f99d1045f40e9c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92ba28a04080547b15d19e8ed6ccac90ad5ecc0db9aa7e0f99d1045f40e9c32", kill_on_drop: false }` [INFO] [stdout] a92ba28a04080547b15d19e8ed6ccac90ad5ecc0db9aa7e0f99d1045f40e9c32