[INFO] cloning repository https://github.com/kwamentw/Rust-S0ce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kwamentw/Rust-S0ce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkwamentw%2FRust-S0ce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkwamentw%2FRust-S0ce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa581f7a17edf63185f50cc254ea66c7a2bc8933 [INFO] building kwamentw/Rust-S0ce against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkwamentw%2FRust-S0ce" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kwamentw/Rust-S0ce on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kwamentw/Rust-S0ce [INFO] finished tweaking git repo https://github.com/kwamentw/Rust-S0ce [INFO] tweaked toml for git repo https://github.com/kwamentw/Rust-S0ce written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kwamentw/Rust-S0ce 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] building kwamentw/Rust-S0ce against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkwamentw%2FRust-S0ce" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-2-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [INFO] building kwamentw/Rust-S0ce against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkwamentw%2FRust-S0ce" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: update_ref failed for ref 'HEAD': cannot update the ref 'refs/heads/main': unable to create directory for '/workspace/builds/worker-2-tc2/source/.git/logs/refs/heads/main': No such file or directory [INFO] building kwamentw/Rust-S0ce against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkwamentw%2FRust-S0ce" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kwamentw/Rust-S0ce on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kwamentw/Rust-S0ce [INFO] finished tweaking git repo https://github.com/kwamentw/Rust-S0ce [INFO] tweaked toml for git repo https://github.com/kwamentw/Rust-S0ce written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kwamentw/Rust-S0ce 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] building kwamentw/Rust-S0ce against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkwamentw%2FRust-S0ce" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kwamentw/Rust-S0ce on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kwamentw/Rust-S0ce [INFO] finished tweaking git repo https://github.com/kwamentw/Rust-S0ce [INFO] tweaked toml for git repo https://github.com/kwamentw/Rust-S0ce written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kwamentw/Rust-S0ce 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16fe4b3db41df17a83df5b944c6e56682621b164c3867c0586e97889981d6540 [INFO] running `Command { std: "docker" "start" "-a" "16fe4b3db41df17a83df5b944c6e56682621b164c3867c0586e97889981d6540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16fe4b3db41df17a83df5b944c6e56682621b164c3867c0586e97889981d6540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16fe4b3db41df17a83df5b944c6e56682621b164c3867c0586e97889981d6540", kill_on_drop: false }` [INFO] [stdout] 16fe4b3db41df17a83df5b944c6e56682621b164c3867c0586e97889981d6540 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 894ab660138e1ba52c4369c2c02f83437e44d63cc5025ab6929c00fa4c2dcc89 [INFO] running `Command { std: "docker" "start" "-a" "894ab660138e1ba52c4369c2c02f83437e44d63cc5025ab6929c00fa4c2dcc89", kill_on_drop: false }` [INFO] [stderr] Compiling myfirstprogram v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | for (element) in vec.into_iter() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - for (element) in vec.into_iter() { [INFO] [stdout] 123 + for element in vec.into_iter() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `size` should have an upper camel case name [INFO] [stdout] --> src/main.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | enum size { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `square` should have an upper camel case name [INFO] [stdout] --> src/main.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | struct square { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `circle` should have an upper camel case name [INFO] [stdout] --> src/main.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | struct circle { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Green`, `Blue`, and `White` are never constructed [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | enum Colors { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 79 | Red, [INFO] [stdout] 80 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 82 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Colors` 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: variants `Big`, `Small`, and `Medium` are never constructed [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | enum size { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 158 | Big, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Size` should have a snake case name [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let Size: size = size::BSM(0, 0, 255); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "894ab660138e1ba52c4369c2c02f83437e44d63cc5025ab6929c00fa4c2dcc89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894ab660138e1ba52c4369c2c02f83437e44d63cc5025ab6929c00fa4c2dcc89", kill_on_drop: false }` [INFO] [stdout] 894ab660138e1ba52c4369c2c02f83437e44d63cc5025ab6929c00fa4c2dcc89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e87e25226275a62c88e0a816eb95ec1baa0ace42c886bfd58364bde65fb0249 [INFO] running `Command { std: "docker" "start" "-a" "0e87e25226275a62c88e0a816eb95ec1baa0ace42c886bfd58364bde65fb0249", kill_on_drop: false }` [INFO] [stderr] Compiling myfirstprogram v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | for (element) in vec.into_iter() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - for (element) in vec.into_iter() { [INFO] [stdout] 123 + for element in vec.into_iter() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `size` should have an upper camel case name [INFO] [stdout] --> src/main.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | enum size { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `square` should have an upper camel case name [INFO] [stdout] --> src/main.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | struct square { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `circle` should have an upper camel case name [INFO] [stdout] --> src/main.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | struct circle { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Size` should have a snake case name [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let Size: size = size::BSM(0, 0, 255); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "0e87e25226275a62c88e0a816eb95ec1baa0ace42c886bfd58364bde65fb0249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e87e25226275a62c88e0a816eb95ec1baa0ace42c886bfd58364bde65fb0249", kill_on_drop: false }` [INFO] [stdout] 0e87e25226275a62c88e0a816eb95ec1baa0ace42c886bfd58364bde65fb0249