[INFO] cloning repository https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillemcordoba%2Frust-lisbon-meetup-07-01-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillemcordoba%2Frust-lisbon-meetup-07-01-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e1017fa25906788e36834466bcf050c504c96ed [INFO] checking guillemcordoba/rust-lisbon-meetup-07-01-2020 against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillemcordoba%2Frust-lisbon-meetup-07-01-2020" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020 [INFO] finished tweaking git repo https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020 [INFO] tweaked toml for git repo https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 455bf3c4a5bc62a0959ce5f564c03c0885c7a50e9381af3cbe1b576b424a4380 [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" "455bf3c4a5bc62a0959ce5f564c03c0885c7a50e9381af3cbe1b576b424a4380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "455bf3c4a5bc62a0959ce5f564c03c0885c7a50e9381af3cbe1b576b424a4380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "455bf3c4a5bc62a0959ce5f564c03c0885c7a50e9381af3cbe1b576b424a4380", kill_on_drop: false }` [INFO] [stdout] 455bf3c4a5bc62a0959ce5f564c03c0885c7a50e9381af3cbe1b576b424a4380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6a4be98c5f2f723be793a47301aaa2eaeb99eeca00d28f1af0afebfec924e78 [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" "c6a4be98c5f2f723be793a47301aaa2eaeb99eeca00d28f1af0afebfec924e78", kill_on_drop: false }` [INFO] [stderr] Checking testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> examples/ownership4.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let r1 = &mut s; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> examples/ownership4.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let r2 = &mut s; // BAD! Only one mutable reference possible at any given time [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> examples/ownership4.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let r1 = &s; // no problem [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> examples/ownership4.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let r2 = &s; // no problem [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r3` [INFO] [stdout] --> examples/ownership4.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let r3 = &mut s; // BAD! Only either multiple immutable references or one mutable reference possible at any given time [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example1` [INFO] [stdout] --> examples/ownership4.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn example1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example2` [INFO] [stdout] --> examples/ownership4.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn example2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `hosting` is private [INFO] [stdout] --> examples/modules.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | crate::front_of_house::hosting::add_to_waitlist(); [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `hosting` is defined here [INFO] [stdout] --> examples/modules.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod hosting { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `hosting` is private [INFO] [stdout] --> examples/modules.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | front_of_house::hosting::add_to_waitlist(); [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `hosting` is defined here [INFO] [stdout] --> examples/modules.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod hosting { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> examples/references.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 19 | let _x = &mut s; [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] 20 | let _y = &s; [INFO] [stdout] | ^^ immutable borrow occurs here [INFO] [stdout] 21 | example(_x); [INFO] [stdout] | -- mutable 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 E0502`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `optionandresult` [INFO] [stdout] --> examples/optionandresult.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / fn checked_division(dividend: i32, divisor: i32) -> Option { [INFO] [stdout] 3 | | if divisor == 0 { [INFO] [stdout] 4 | | // Failure is represented as the `None` variant [INFO] [stdout] 5 | | None [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/optionandresult.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant is never constructed: `Iceray` [INFO] [stdout] --> examples/basics.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Iceray, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> examples/basics.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_literals` [INFO] [stdout] --> examples/matching.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn match_literals() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_variable` [INFO] [stdout] --> examples/matching.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn match_variable() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> examples/matching.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_struct` [INFO] [stdout] --> examples/matching.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn match_struct() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Message` [INFO] [stdout] --> examples/matching.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_enum` [INFO] [stdout] --> examples/matching.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn match_enum() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> examples/ownership2.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let s1 = gives_ownership(); // gives_ownership moves its return [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s3` [INFO] [stdout] --> examples/ownership2.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let s3 = takes_and_gives_back(s2); // s2 is moved into [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*some_string` as mutable, as it is behind a `&` reference [INFO] [stdout] --> examples/ownership3.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn change(some_string: &String) { [INFO] [stdout] | ------- help: consider changing this to be a mutable reference: `&mut String` [INFO] [stdout] 8 | some_string.push_str(", world"); // BAD! We have an immutable reference to some_string [INFO] [stdout] | ^^^^^^^^^^^ `some_string` is a `&` reference, so the data it refers to cannot be borrowed as mutable [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 E0596`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c6a4be98c5f2f723be793a47301aaa2eaeb99eeca00d28f1af0afebfec924e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a4be98c5f2f723be793a47301aaa2eaeb99eeca00d28f1af0afebfec924e78", kill_on_drop: false }` [INFO] [stdout] c6a4be98c5f2f723be793a47301aaa2eaeb99eeca00d28f1af0afebfec924e78