[INFO] cloning repository https://github.com/eda3/rust_by_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eda3/rust_by_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 625b0a454bd5741b527da1d05bef7fd812741fec [INFO] checking eda3/rust_by_example against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example" "/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/eda3/rust_by_example on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eda3/rust_by_example [INFO] finished tweaking git repo https://github.com/eda3/rust_by_example [INFO] tweaked toml for git repo https://github.com/eda3/rust_by_example written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/eda3/rust_by_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 100886e5889ae54933e78c7516d977483d196fd0f825f42d331178d8506fd4b3 [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" "100886e5889ae54933e78c7516d977483d196fd0f825f42d331178d8506fd4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "100886e5889ae54933e78c7516d977483d196fd0f825f42d331178d8506fd4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "100886e5889ae54933e78c7516d977483d196fd0f825f42d331178d8506fd4b3", kill_on_drop: false }` [INFO] [stdout] 100886e5889ae54933e78c7516d977483d196fd0f825f42d331178d8506fd4b3 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91bf6d58f7cc202478f2000e2a9475ab45882e874b04e300a3a2942f2771186c [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" "91bf6d58f7cc202478f2000e2a9475ab45882e874b04e300a3a2942f2771186c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rust_by_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `de` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | #[allow(de)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `indirect_access` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn indirect_access() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_my_mod` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub(in crate::my_mod) fn public_function_in_my_mod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_nested` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub(self) fn public_function_in_nested() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_super_mod` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub(super) fn public_function_in_super_mod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_public_function_in_my_mod` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn call_public_function_in_my_mod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_crate` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn public_function_in_crate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `restricted_function` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn restricted_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `short_lived_binding` [INFO] [stdout] --> src/bin/04-2-0_scope.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let short_lived_binding = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_lived_binding` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noisy_unused_variable` [INFO] [stdout] --> src/bin/04-0_variable_bindings.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | let noisy_unused_variable = 2u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_noisy_unused_variable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `integer` in this scope [INFO] [stdout] --> src/bin/02-0_primitives.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let default = integer = 7; // i32 [INFO] [stdout] | ^^^^^^^ not found in this scope [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 E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_by_example` [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: struct is never constructed: `S` [INFO] [stdout] --> src/bin/14-2-0_impl.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct S; // 具象型`S` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GenericVal` [INFO] [stdout] --> src/bin/14-2-0_impl.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct GenericVal(T); // ジェネリック型`GenericVal` [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noisy_unused_variable` [INFO] [stdout] --> src/bin/04-0_variable_bindings.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | let noisy_unused_variable = 2u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_noisy_unused_variable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `short_lived_binding` [INFO] [stdout] --> src/bin/04-2-0_scope.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let short_lived_binding = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_lived_binding` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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" "91bf6d58f7cc202478f2000e2a9475ab45882e874b04e300a3a2942f2771186c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91bf6d58f7cc202478f2000e2a9475ab45882e874b04e300a3a2942f2771186c", kill_on_drop: false }` [INFO] [stdout] 91bf6d58f7cc202478f2000e2a9475ab45882e874b04e300a3a2942f2771186c