[INFO] updating cached repository https://github.com/rusticus-io/ownership-borrowing-lifetimes
[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] 3256db7763021e7ac02874a9e7d672315eb1f7a4
[INFO] checking rusticus-io/ownership-borrowing-lifetimes against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes" "/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/rusticus-io/ownership-borrowing-lifetimes on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] finished tweaking git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] tweaked toml for git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] cafe109eb9eb676a4a727d072a9b3bc97e791afb5871f2734570de795219ba04
[INFO] running `"docker" "start" "-a" "cafe109eb9eb676a4a727d072a9b3bc97e791afb5871f2734570de795219ba04"`
[INFO] [stderr]     Checking ownbol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0597]: `a` does not live long enough
[INFO] [stderr]   --> examples/04-lifetime.rs:19:17
[INFO] [stderr]    |
[INFO] [stderr] 19 |             x = &a; // definition       !   // <!  lifetime of x starts here | # cover a lifetime
[INFO] [stderr]    |                 ^^ borrowed value does not live long enough
[INFO] [stderr] 20 |             println!("{:?}", x);            //  !  usage of x is valid
[INFO] [stderr] 21 |         } // stack frame ends           !   //  !
[INFO] [stderr]    |         - `a` dropped here while still borrowed
[INFO] [stderr] ...
[INFO] [stderr] 25 |         println!("{:?}", x);                //  !  usage of x leads to borrow checker error
[INFO] [stderr]    |                          - borrow later used here
[INFO] [stderr] 
[INFO] [stderr] warning: variable `x` is assigned to, but never used
[INFO] [stderr]   --> examples/03-deferred-definition.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 |         let x; // declaration           .....+  space reserved on the stack
[INFO] [stderr]    |             ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]    = note: consider using `_x` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]   --> examples/03-deferred-definition.rs:17:17
[INFO] [stderr]    |
[INFO] [stderr] 17 |             let a = A("a");                 //  .
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `x` is never read
[INFO] [stderr]   --> examples/03-deferred-definition.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 |             x = A("x"); // definition       // <!  lifetime of x starts here
[INFO] [stderr]    |             ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0597`.
[INFO] [stderr] error: could not compile `ownbol`.
[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" "cafe109eb9eb676a4a727d072a9b3bc97e791afb5871f2734570de795219ba04"`
[INFO] running `"docker" "rm" "-f" "cafe109eb9eb676a4a727d072a9b3bc97e791afb5871f2734570de795219ba04"`
[INFO] [stdout] cafe109eb9eb676a4a727d072a9b3bc97e791afb5871f2734570de795219ba04
