[INFO] updating cached repository https://github.com/jakubskopal/tmp_use_before_mod
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] b1ff0f0c4b24fbc60e90c08b8d62629891d5d53d
[INFO] testing jakubskopal/tmp_use_before_mod against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakubskopal%2Ftmp_use_before_mod" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jakubskopal/tmp_use_before_mod on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/jakubskopal/tmp_use_before_mod
[INFO] finished tweaking git repo https://github.com/jakubskopal/tmp_use_before_mod
[INFO] tweaked toml for git repo https://github.com/jakubskopal/tmp_use_before_mod written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/jakubskopal/tmp_use_before_mod already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] 6ad7e14f6b01ea3974b01fc0c3bb5539521505ebea86054e133e87507f91f755
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "6ad7e14f6b01ea3974b01fc0c3bb5539521505ebea86054e133e87507f91f755"`
[INFO] [stderr]    Compiling example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `Regex` in this scope
[INFO] [stderr]   --> not_working.rs:10:32
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn example() -> Option<Regex> {
[INFO] [stderr]    |                                ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 10 |     use regex::Regex;
[INFO] [stderr]    |
[INFO] [stderr] 10 |     use regex::bytes::Regex;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `example`
[INFO] [stderr]   --> working.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn example() -> Option<Regex> {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `regex::Regex`
[INFO] [stderr]  --> not_working.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use regex::Regex;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `example`.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "6ad7e14f6b01ea3974b01fc0c3bb5539521505ebea86054e133e87507f91f755"`
[INFO] running `"docker" "rm" "-f" "6ad7e14f6b01ea3974b01fc0c3bb5539521505ebea86054e133e87507f91f755"`
[INFO] [stdout] 6ad7e14f6b01ea3974b01fc0c3bb5539521505ebea86054e133e87507f91f755
