[INFO] cloning repository https://github.com/flowerlake/rust_learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowerlake/rust_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowerlake%2Frust_learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowerlake%2Frust_learning'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-applypatch.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowerlake%2Frust_learning/hooks/pre-applypatch.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/flowerlake/rust_learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowerlake/rust_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowerlake%2Frust_learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowerlake%2Frust_learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 661cfd45417194e68337491e84612e10a276192c [INFO] checking flowerlake/rust_learning against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowerlake%2Frust_learning" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/flowerlake/rust_learning [INFO] finished tweaking git repo https://github.com/flowerlake/rust_learning [INFO] tweaked toml for git repo https://github.com/flowerlake/rust_learning written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flowerlake/rust_learning on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/flowerlake/rust_learning 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cd64c3785ba8f37deedb0e695e06f12f219a64ad282c5e9ca74e0dc752ce316 [INFO] running `Command { std: "docker" "start" "-a" "1cd64c3785ba8f37deedb0e695e06f12f219a64ad282c5e9ca74e0dc752ce316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd64c3785ba8f37deedb0e695e06f12f219a64ad282c5e9ca74e0dc752ce316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd64c3785ba8f37deedb0e695e06f12f219a64ad282c5e9ca74e0dc752ce316", kill_on_drop: false }` [INFO] [stdout] 1cd64c3785ba8f37deedb0e695e06f12f219a64ad282c5e9ca74e0dc752ce316 [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=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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68e333a4187cf3fb43aa3a79948dc901bd5d4ce4feeb2f7ebd2d91427aeaec54 [INFO] running `Command { std: "docker" "start" "-a" "68e333a4187cf3fb43aa3a79948dc901bd5d4ce4feeb2f7ebd2d91427aeaec54", kill_on_drop: false }` [INFO] [stderr] Checking rust_learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SGen` is never constructed [INFO] [stdout] --> src/generic_test.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct SGen { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Generic` is never constructed [INFO] [stdout] --> src/generic_test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Generic { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/generic_test.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SGen { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 10 | pub fn get(&self) -> &u32 { &self.val } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/generic_test.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Generic { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 14 | pub fn get(&self) -> &T { &self.val } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rary` [INFO] [stdout] --> src/main.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | let res= rary::add(1, 3); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rary` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rary`, use `cargo add rary` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rary` [INFO] [stdout] --> src/main.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | let res= rary::add(1, 3); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rary` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rary`, use `cargo add rary` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rary2` [INFO] [stdout] --> src/main.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | rary2::indirect_access(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rary2` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/rary2.rs, use `mod rary2` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod rary2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rary2` [INFO] [stdout] --> src/main.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | rary2::indirect_access(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rary2` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/rary2.rs, use `mod rary2` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod rary2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:116:48 [INFO] [stdout] | [INFO] [stdout] 116 | Color::RGB2(Some(n@ 13..= 20), y, z)=>println!("Option bind {}", n), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 116 | Color::RGB2(Some(n@ 13..= 20), y, z)=>println!("Option bind {}", n), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:116:48 [INFO] [stdout] | [INFO] [stdout] 116 | Color::RGB2(Some(n@ 13..= 20), y, z)=>println!("Option bind {}", n), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 116 | Color::RGB2(Some(n@ 13..= 20), y, z)=>println!("Option bind {}", n), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 117 | Color::RGB2(Some(n), y, z)=>println!("Option bind2 {}", n), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | Color::RGB2(Some(n), y, z)=>println!("Option bind2 {}", n), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/main.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let binary = match boolean { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_var` [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let some_var = Color::RGB(1, 2, 3); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_learning` (bin "rust_learning" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_learning` (bin "rust_learning") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68e333a4187cf3fb43aa3a79948dc901bd5d4ce4feeb2f7ebd2d91427aeaec54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e333a4187cf3fb43aa3a79948dc901bd5d4ce4feeb2f7ebd2d91427aeaec54", kill_on_drop: false }` [INFO] [stdout] 68e333a4187cf3fb43aa3a79948dc901bd5d4ce4feeb2f7ebd2d91427aeaec54