[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] 2fe59d05b6c9f54b075f09cf4dde394ec3aa344f
[INFO] testing rusticus-io/ownership-borrowing-lifetimes against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes" "/workspace/builds/worker-31/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-31/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-31/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-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee55b761187345cad49b0d77ef3646a047bc2c1859222df1c4343492227d1cc0
[INFO] running `Command { std: "docker" "start" "-a" "ee55b761187345cad49b0d77ef3646a047bc2c1859222df1c4343492227d1cc0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee55b761187345cad49b0d77ef3646a047bc2c1859222df1c4343492227d1cc0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee55b761187345cad49b0d77ef3646a047bc2c1859222df1c4343492227d1cc0", kill_on_drop: false }`
[INFO] [stdout] ee55b761187345cad49b0d77ef3646a047bc2c1859222df1c4343492227d1cc0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e60eaa0f8132190ad6ff00a94c997fb78f36ef0d9f4a5aa7bcca6d56922b3f1
[INFO] running `Command { std: "docker" "start" "-a" "1e60eaa0f8132190ad6ff00a94c997fb78f36ef0d9f4a5aa7bcca6d56922b3f1", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling ownbol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.84s
[INFO] running `Command { std: "docker" "inspect" "1e60eaa0f8132190ad6ff00a94c997fb78f36ef0d9f4a5aa7bcca6d56922b3f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e60eaa0f8132190ad6ff00a94c997fb78f36ef0d9f4a5aa7bcca6d56922b3f1", kill_on_drop: false }`
[INFO] [stdout] 1e60eaa0f8132190ad6ff00a94c997fb78f36ef0d9f4a5aa7bcca6d56922b3f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42da656d7d429049e75c4b0cf27f35b93ba766ee9192220bf9387d1cf6d85e62
[INFO] running `Command { std: "docker" "start" "-a" "42da656d7d429049e75c4b0cf27f35b93ba766ee9192220bf9387d1cf6d85e62", kill_on_drop: false }`
[INFO] [stderr]    Compiling ownbol v0.1.0 (/opt/rustwide/workdir)
[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] 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] 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` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "42da656d7d429049e75c4b0cf27f35b93ba766ee9192220bf9387d1cf6d85e62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42da656d7d429049e75c4b0cf27f35b93ba766ee9192220bf9387d1cf6d85e62", kill_on_drop: false }`
[INFO] [stdout] 42da656d7d429049e75c4b0cf27f35b93ba766ee9192220bf9387d1cf6d85e62
