[INFO] updating cached repository https://github.com/backskin/rust_lil [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81587e15fced8d8dc2c691f3f7305b53213be3f1 [INFO] testing backskin/rust_lil against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbackskin%2Frust_lil" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/backskin/rust_lil 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/backskin/rust_lil [INFO] finished tweaking git repo https://github.com/backskin/rust_lil [INFO] tweaked toml for git repo https://github.com/backskin/rust_lil written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/backskin/rust_lil 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--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] 247837cb1cde6616c7fdd13746f6c6d3a056249842b769b274e8e96ba43eb094 [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" "247837cb1cde6616c7fdd13746f6c6d3a056249842b769b274e8e96ba43eb094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "247837cb1cde6616c7fdd13746f6c6d3a056249842b769b274e8e96ba43eb094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247837cb1cde6616c7fdd13746f6c6d3a056249842b769b274e8e96ba43eb094", kill_on_drop: false }` [INFO] [stdout] 247837cb1cde6616c7fdd13746f6c6d3a056249842b769b274e8e96ba43eb094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0a3c1a69540a773d8e86562fcc4a8c015d37065ca3d57100e978fc9f2776a139 [INFO] running `Command { std: "docker" "start" "-a" "0a3c1a69540a773d8e86562fcc4a8c015d37065ca3d57100e978fc9f2776a139", kill_on_drop: false }` [INFO] [stderr] Compiling rust-lil-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0596]: cannot borrow data in a `&` reference as mutable [INFO] [stdout] --> src/lifetime_module.rs:286:32 [INFO] [stdout] | [INFO] [stdout] 286 | let t = thread::spawn(|| { guy.borrow().greet(); }); [INFO] [stdout] | ^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `guy`, which is owned by the current function [INFO] [stdout] --> src/lifetime_module.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | let t = thread::spawn(|| { guy.borrow().greet(); }); [INFO] [stdout] | ^^ --- `guy` is borrowed here [INFO] [stdout] | | [INFO] [stdout] | may outlive borrowed value `guy` [INFO] [stdout] | [INFO] [stdout] note: function requires argument type to outlive `'static` [INFO] [stdout] --> src/lifetime_module.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let t = thread::spawn(|| { guy.borrow().greet(); }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: to force the closure to take ownership of `guy` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 286 | let t = thread::spawn(move || { guy.borrow().greet(); }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `guy` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lifetime_module.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 286 | let t = thread::spawn(|| { guy.borrow().greet(); }); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | first borrow occurs due to use of `guy` in closure [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | argument requires that `guy` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 296 | guy.greet(); [INFO] [stdout] | ^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0373, E0502, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-lil-examples`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0a3c1a69540a773d8e86562fcc4a8c015d37065ca3d57100e978fc9f2776a139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3c1a69540a773d8e86562fcc4a8c015d37065ca3d57100e978fc9f2776a139", kill_on_drop: false }` [INFO] [stdout] 0a3c1a69540a773d8e86562fcc4a8c015d37065ca3d57100e978fc9f2776a139