[INFO] cloning 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" "clone" "--bare" "https://github.com/backskin/rust_lil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbackskin%2Frust_lil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbackskin%2Frust_lil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81587e15fced8d8dc2c691f3f7305b53213be3f1 [INFO] checking backskin/rust_lil against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbackskin%2Frust_lil" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/backskin/rust_lil on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 275f1fce55b1dde95145053145b4d0b21efd22c17a9682f19522385858fcde76 [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" "275f1fce55b1dde95145053145b4d0b21efd22c17a9682f19522385858fcde76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "275f1fce55b1dde95145053145b4d0b21efd22c17a9682f19522385858fcde76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "275f1fce55b1dde95145053145b4d0b21efd22c17a9682f19522385858fcde76", kill_on_drop: false }` [INFO] [stdout] 275f1fce55b1dde95145053145b4d0b21efd22c17a9682f19522385858fcde76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf635f486ff14b1494727b71f42a843dec390210c1deb0f4fd385c03d56809cd [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" "cf635f486ff14b1494727b71f42a843dec390210c1deb0f4fd385c03d56809cd", kill_on_drop: false }` [INFO] [stderr] Checking rust-lil-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/methods_module.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/methods_module.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [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[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[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[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; 1 warning emitted [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] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf635f486ff14b1494727b71f42a843dec390210c1deb0f4fd385c03d56809cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf635f486ff14b1494727b71f42a843dec390210c1deb0f4fd385c03d56809cd", kill_on_drop: false }` [INFO] [stdout] cf635f486ff14b1494727b71f42a843dec390210c1deb0f4fd385c03d56809cd