[INFO] cloning repository https://github.com/jfeldman325/Rust-Learning-Examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jfeldman325/Rust-Learning-Examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfeldman325%2FRust-Learning-Examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfeldman325%2FRust-Learning-Examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b32ce13aa45e32e6b5473a7ae44a9897c30e6af0 [INFO] testing jfeldman325/Rust-Learning-Examples against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfeldman325%2FRust-Learning-Examples" "/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/jfeldman325/Rust-Learning-Examples on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jfeldman325/Rust-Learning-Examples [INFO] finished tweaking git repo https://github.com/jfeldman325/Rust-Learning-Examples [INFO] tweaked toml for git repo https://github.com/jfeldman325/Rust-Learning-Examples written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/jfeldman325/Rust-Learning-Examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ce55c21458030efe996a46e0fdfc8fb0fb4779457e95e9a73abf8e923495533 [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" "1ce55c21458030efe996a46e0fdfc8fb0fb4779457e95e9a73abf8e923495533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ce55c21458030efe996a46e0fdfc8fb0fb4779457e95e9a73abf8e923495533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ce55c21458030efe996a46e0fdfc8fb0fb4779457e95e9a73abf8e923495533", kill_on_drop: false }` [INFO] [stdout] 1ce55c21458030efe996a46e0fdfc8fb0fb4779457e95e9a73abf8e923495533 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f333f0d21b3843dcbdef4463fa55718e78d5e23e5e61e3997edb337e2d62b6 [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" "51f333f0d21b3843dcbdef4463fa55718e78d5e23e5e61e3997edb337e2d62b6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling minigrep v0.1.0 (/opt/rustwide/workdir/minigrep) [INFO] [stderr] Compiling lifetimes v0.1.0 (/opt/rustwide/workdir/lifetimes) [INFO] [stderr] Compiling errors v0.1.0 (/opt/rustwide/workdir/errors) [INFO] [stderr] Compiling iterators v0.1.0 (/opt/rustwide/workdir/iterators) [INFO] [stderr] Compiling Enums v0.1.0 (/opt/rustwide/workdir/enums) [INFO] [stderr] Compiling traits v0.1.0 (/opt/rustwide/workdir/traits) [INFO] [stdout] warning: unused variable: `tweet` [INFO] [stdout] --> traits/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let tweet = Tweet { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tweet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> traits/src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &self.summarize()[0..4] [INFO] [stdout] | ^----------------^^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `traits` [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] [stdout] warning: unused variable: `four` [INFO] [stdout] --> enums/src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let four = IpaddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> enums/src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let six = IpaddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> enums/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | version: IpaddrKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> enums/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_v6` [INFO] [stdout] --> enums/src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn new_v6(address: String, mask: Option) -> IpAddr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Enums` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `enums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> errors/src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let f = read_file("Hello.txt".to_string()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ImportantExcerpt` [INFO] [stdout] --> lifetimes/src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_with_an_announcement` [INFO] [stdout] --> lifetimes/src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn longest_with_an_announcement(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter_mut` found for struct `Counter` in the current scope [INFO] [stdout] --> iterators/src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let counter_iter = counter.iter_mut(); [INFO] [stdout] | ^^^^^^^^ method not found in `Counter` [INFO] [stdout] ... [INFO] [stdout] 30 | struct Counter { [INFO] [stdout] | -------------- method `iter_mut` not found for this [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 E0599`. [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "51f333f0d21b3843dcbdef4463fa55718e78d5e23e5e61e3997edb337e2d62b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f333f0d21b3843dcbdef4463fa55718e78d5e23e5e61e3997edb337e2d62b6", kill_on_drop: false }` [INFO] [stdout] 51f333f0d21b3843dcbdef4463fa55718e78d5e23e5e61e3997edb337e2d62b6