[INFO] cloning repository https://github.com/comex/owning_ref_bug
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/comex/owning_ref_bug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomex%2Fowning_ref_bug"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomex%2Fowning_ref_bug'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 60f0cb6838506bd1e0fb527927256eb8a2a4e656
[INFO] checking comex/owning_ref_bug against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomex%2Fowning_ref_bug" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/comex/owning_ref_bug on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/comex/owning_ref_bug
[INFO] finished tweaking git repo https://github.com/comex/owning_ref_bug
[INFO] tweaked toml for git repo https://github.com/comex/owning_ref_bug written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/comex/owning_ref_bug already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 183e0a4f9136b47787afb88ec50c36daec3767a731050616df0734ee029cf1c2
[INFO] running `"docker" "start" "-a" "183e0a4f9136b47787afb88ec50c36daec3767a731050616df0734ee029cf1c2"`
[INFO] [stderr]     Checking owning_ref_bug v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `owning_ref::OwningRefMut`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use owning_ref::OwningRefMut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]  --> src/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::cell::RefCell;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0601]: `main` function not found in crate `owning_ref_bug`
[INFO] [stderr]   --> src/main.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr] 1  | / use owning_ref::OwningRefMut;
[INFO] [stderr] 2  | | use std::cell::RefCell;
[INFO] [stderr] 3  | |
[INFO] [stderr] 4  | | #[test]
[INFO] [stderr] ...  |
[INFO] [stderr] 19 | |     assert_eq!(*or2, 42);
[INFO] [stderr] 20 | | }
[INFO] [stderr]    | |_^ consider adding a `main` function to `src/main.rs`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0601`.
[INFO] [stderr] error: could not compile `owning_ref_bug`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "183e0a4f9136b47787afb88ec50c36daec3767a731050616df0734ee029cf1c2"`
[INFO] running `"docker" "rm" "-f" "183e0a4f9136b47787afb88ec50c36daec3767a731050616df0734ee029cf1c2"`
[INFO] [stdout] 183e0a4f9136b47787afb88ec50c36daec3767a731050616df0734ee029cf1c2
