[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillemcordoba%2Frust-lisbon-meetup-07-01-2020: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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 master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557 [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-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guillemcordoba/rust-lisbon-meetup-07-01-2020 on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53c602b4bd4271fd20e445ac66df3ca368118e1c6b51469a221ae981d73bc728 [INFO] running `Command { std: "docker" "start" "-a" "53c602b4bd4271fd20e445ac66df3ca368118e1c6b51469a221ae981d73bc728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53c602b4bd4271fd20e445ac66df3ca368118e1c6b51469a221ae981d73bc728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c602b4bd4271fd20e445ac66df3ca368118e1c6b51469a221ae981d73bc728", kill_on_drop: false }` [INFO] [stdout] 53c602b4bd4271fd20e445ac66df3ca368118e1c6b51469a221ae981d73bc728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caf14f9694d066c77174569f09b690f88a11b056ea26c63d77ef80e97c72716d [INFO] running `Command { std: "docker" "start" "-a" "caf14f9694d066c77174569f09b690f88a11b056ea26c63d77ef80e97c72716d", kill_on_drop: false }` [INFO] [stderr] Checking 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)]` 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] 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: 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] For more information about this error, try `rustc --explain E0601`. [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] 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] 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)]` 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] [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] 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] 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)]` 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] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (example "references") due to 1 previous error [INFO] [stderr] error: could not compile `testing` (example "modules") due to 2 previous errors [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)]` 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] 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 the data it refers to 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] running `Command { std: "docker" "inspect" "caf14f9694d066c77174569f09b690f88a11b056ea26c63d77ef80e97c72716d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf14f9694d066c77174569f09b690f88a11b056ea26c63d77ef80e97c72716d", kill_on_drop: false }` [INFO] [stdout] caf14f9694d066c77174569f09b690f88a11b056ea26c63d77ef80e97c72716d