[INFO] cloning repository https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rusticus-io/ownership-borrowing-lifetimes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3256db7763021e7ac02874a9e7d672315eb1f7a4
[INFO] checking rusticus-io/ownership-borrowing-lifetimes against beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-12/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5372b79fccbc2fdd964e0dedd1ee3bdc94c1a6aa8a20717dd6f0022d188e6cce
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5372b79fccbc2fdd964e0dedd1ee3bdc94c1a6aa8a20717dd6f0022d188e6cce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5372b79fccbc2fdd964e0dedd1ee3bdc94c1a6aa8a20717dd6f0022d188e6cce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5372b79fccbc2fdd964e0dedd1ee3bdc94c1a6aa8a20717dd6f0022d188e6cce", kill_on_drop: false }`
[INFO] [stdout] 5372b79fccbc2fdd964e0dedd1ee3bdc94c1a6aa8a20717dd6f0022d188e6cce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 118d2a8519ab31389c314f5b07069cfc152e38eb3db85065c406969650c99276
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "118d2a8519ab31389c314f5b07069cfc152e38eb3db85065c406969650c99276", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking ownbol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `x` is assigned to, but never used
[INFO] [stdout]   --> examples/03-deferred-definition.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let x; // declaration           .....+  space reserved on the stack
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: consider using `_x` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> examples/03-deferred-definition.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |             let a = A("a");                 //  .
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> examples/03-deferred-definition.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             x = A("x"); // definition       // <!  lifetime of x starts here
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `a` does not live long enough
[INFO] [stdout]   --> examples/04-lifetime.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |             x = &a; // definition       !   // <!  lifetime of x starts here | # cover a lifetime
[INFO] [stdout]    |                 ^^ borrowed value does not live long enough
[INFO] [stdout] 20 |             println!("{:?}", x);            //  !  usage of x is valid
[INFO] [stdout] 21 |         } // stack frame ends           !   //  !
[INFO] [stdout]    |         - `a` dropped here while still borrowed
[INFO] [stdout] ...
[INFO] [stdout] 25 |         println!("{:?}", x);                //  !  usage of x leads to borrow checker error
[INFO] [stdout]    |                          - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[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 `Command { std: "docker" "inspect" "118d2a8519ab31389c314f5b07069cfc152e38eb3db85065c406969650c99276", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "118d2a8519ab31389c314f5b07069cfc152e38eb3db85065c406969650c99276", kill_on_drop: false }`
[INFO] [stdout] 118d2a8519ab31389c314f5b07069cfc152e38eb3db85065c406969650c99276
