[INFO] cloning repository https://github.com/gavynriebau/filesystem_race_condition_bug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gavynriebau/filesystem_race_condition_bug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavynriebau%2Ffilesystem_race_condition_bug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavynriebau%2Ffilesystem_race_condition_bug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d24771306120ef7022e234597155efebadd92c1 [INFO] testing gavynriebau/filesystem_race_condition_bug against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavynriebau%2Ffilesystem_race_condition_bug" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gavynriebau/filesystem_race_condition_bug on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gavynriebau/filesystem_race_condition_bug [INFO] finished tweaking git repo https://github.com/gavynriebau/filesystem_race_condition_bug [INFO] tweaked toml for git repo https://github.com/gavynriebau/filesystem_race_condition_bug written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/gavynriebau/filesystem_race_condition_bug already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c05de04121c1156659d29d0eebbf56ed89a32d7270d6419d863a9a1348e8c264 [INFO] running `Command { std: "docker" "start" "-a" "c05de04121c1156659d29d0eebbf56ed89a32d7270d6419d863a9a1348e8c264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c05de04121c1156659d29d0eebbf56ed89a32d7270d6419d863a9a1348e8c264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c05de04121c1156659d29d0eebbf56ed89a32d7270d6419d863a9a1348e8c264", kill_on_drop: false }` [INFO] [stdout] c05de04121c1156659d29d0eebbf56ed89a32d7270d6419d863a9a1348e8c264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 864ad57d1a0911527a23ca150ce61baad03a29074b848ba4defe830aa02ce662 [INFO] running `Command { std: "docker" "start" "-a" "864ad57d1a0911527a23ca150ce61baad03a29074b848ba4defe830aa02ce662", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling filesystem v0.4.2 [INFO] [stderr] Compiling filesystem_race_condition_bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `filesystem::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use filesystem::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `filesystem_race_condition_bug` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern crate filesystem; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use filesystem::*; [INFO] [stdout] 5 | | use std::path::Path; [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `filesystem_race_condition_bug` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "864ad57d1a0911527a23ca150ce61baad03a29074b848ba4defe830aa02ce662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864ad57d1a0911527a23ca150ce61baad03a29074b848ba4defe830aa02ce662", kill_on_drop: false }` [INFO] [stdout] 864ad57d1a0911527a23ca150ce61baad03a29074b848ba4defe830aa02ce662