[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] testing guillemcordoba/rust-lisbon-meetup-07-01-2020 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[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-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e
[INFO] running `Command { std: "docker" "start" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling testing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling testing v0.1.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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] error[E0601]: `main` function not found in crate `optionandresult`
[INFO] [stdout]   --> examples/optionandresult.rs:21:2
[INFO] [stdout]    |
[INFO] [stdout] 21 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/optionandresult.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `testing` (example "optionandresult") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: function `match_literals` is never used
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_variable` is never used
[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 `Point` is never constructed
[INFO] [stdout]   --> examples/matching.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Point {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_struct` is never used
[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 `Message` is never used
[INFO] [stdout]   --> examples/matching.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_enum` is never used
[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: `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)]` (part of `#[warn(unused)]`) 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 `example1` is never used
[INFO] [stdout]  --> examples/ownership4.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn example1() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]   --> examples/ownership4.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn example2() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[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] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Iceray` is never constructed
[INFO] [stdout]   --> examples/basics.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum Spell {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 15 |     Fireball,
[INFO] [stdout] 16 |     Iceray,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Spell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `knownledge` are never read
[INFO] [stdout]   --> examples/basics.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Mage {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 20 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     knownledge: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `level` is never used
[INFO] [stdout]   --> examples/basics.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | trait Fighter {
[INFO] [stdout]    |       ------- method in this trait
[INFO] [stdout] 26 |     fn level(self) -> usize;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `testing` (example "references") due to 1 previous error
[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] 8 |     some_string.push_str(", world"); // BAD! We have an immutable reference to some_string
[INFO] [stdout]   |     ^^^^^^^^^^^ `some_string` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn change(some_string: &mut String) {
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `testing` (example "ownership3") due to 1 previous error
[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]    |                            ^^^^^^^  --------------- function `add_to_waitlist` is not publicly re-exported
[INFO] [stdout]    |                            |
[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]    |                     ^^^^^^^  --------------- function `add_to_waitlist` is not publicly re-exported
[INFO] [stdout]    |                     |
[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] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `testing` (example "modules") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e", kill_on_drop: false }`
[INFO] [stdout] 176aeb1c96da90a8648ff5c7a8bc8a0ef98abf51a12bafe617dba54631e9cb6e
