[INFO] cloning repository https://github.com/jamesonley/LearningRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamesonley/LearningRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/jamesonley/LearningRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamesonley/LearningRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/prepare-commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust/hooks/prepare-commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/jamesonley/LearningRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamesonley/LearningRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bb0dc17930dda4173cd35166854f6c8a4228ab8 [INFO] building jamesonley/LearningRust against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesonley%2FLearningRust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamesonley/LearningRust on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamesonley/LearningRust [INFO] finished tweaking git repo https://github.com/jamesonley/LearningRust [INFO] tweaked toml for git repo https://github.com/jamesonley/LearningRust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jamesonley/LearningRust 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 644e59ab9fdcb1dcea01e01c36203c1431eaf80f4981c65a2f8a8acf55bb33cf [INFO] running `Command { std: "docker" "start" "-a" "644e59ab9fdcb1dcea01e01c36203c1431eaf80f4981c65a2f8a8acf55bb33cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "644e59ab9fdcb1dcea01e01c36203c1431eaf80f4981c65a2f8a8acf55bb33cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644e59ab9fdcb1dcea01e01c36203c1431eaf80f4981c65a2f8a8acf55bb33cf", kill_on_drop: false }` [INFO] [stdout] 644e59ab9fdcb1dcea01e01c36203c1431eaf80f4981c65a2f8a8acf55bb33cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c6e0eeda152da864d6598bff6e46a7cf93c6cdbb0e798e3f0048310aa00ea78 [INFO] running `Command { std: "docker" "start" "-a" "8c6e0eeda152da864d6598bff6e46a7cf93c6cdbb0e798e3f0048310aa00ea78", kill_on_drop: false }` [INFO] [stderr] Compiling hello-world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let s = "hello"; // String literal inside a specific scope. [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let s = String::from("Hello Inside Scope"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let s1 = gives_ownership(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s3` [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let s3 = takes_and_gives_back(s2); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/main.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let r1 = &mut s; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/main.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let origin = Point(1, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut s = String::from("hello"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/main.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | struct Color(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/main.rs:302:26 [INFO] [stdout] | [INFO] [stdout] 302 | struct Point(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Quarter` are never constructed [INFO] [stdout] --> src/main.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 385 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 386 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 387 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 388 | Dime, [INFO] [stdout] 389 | Quarter, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alabama` and `Alaska` are never constructed [INFO] [stdout] --> src/main.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 408 | enum UsState{ [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 409 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 410 | Alaska, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> src/main.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 413 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 414 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 415 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 416 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/main.rs:438:16 [INFO] [stdout] | [INFO] [stdout] 438 | fn plus_one(x: Option) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "8c6e0eeda152da864d6598bff6e46a7cf93c6cdbb0e798e3f0048310aa00ea78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6e0eeda152da864d6598bff6e46a7cf93c6cdbb0e798e3f0048310aa00ea78", kill_on_drop: false }` [INFO] [stdout] 8c6e0eeda152da864d6598bff6e46a7cf93c6cdbb0e798e3f0048310aa00ea78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22b4e80c01dd81bf17c480bf28d0ffd7007c0a8a71b6314316da245f41b4acbc [INFO] running `Command { std: "docker" "start" "-a" "22b4e80c01dd81bf17c480bf28d0ffd7007c0a8a71b6314316da245f41b4acbc", kill_on_drop: false }` [INFO] [stderr] Compiling hello-world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let s = "hello"; // String literal inside a specific scope. [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let s = String::from("Hello Inside Scope"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let s1 = gives_ownership(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s3` [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let s3 = takes_and_gives_back(s2); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/main.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let r1 = &mut s; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/main.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let origin = Point(1, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut s = String::from("hello"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "22b4e80c01dd81bf17c480bf28d0ffd7007c0a8a71b6314316da245f41b4acbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b4e80c01dd81bf17c480bf28d0ffd7007c0a8a71b6314316da245f41b4acbc", kill_on_drop: false }` [INFO] [stdout] 22b4e80c01dd81bf17c480bf28d0ffd7007c0a8a71b6314316da245f41b4acbc