[INFO] updating cached repository https://github.com/syuni/rust-by-example [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0913318232d09aedafc23decd545e62a162e4535 [INFO] checking syuni/rust-by-example against try#e60d9e09c55855f5a848fde8ad83e13131a5b241 for pr-68350 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyuni%2Frust-by-example" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syuni/rust-by-example on toolchain e60d9e09c55855f5a848fde8ad83e13131a5b241 [INFO] running `"/workspace/cargo-home/bin/cargo" "+e60d9e09c55855f5a848fde8ad83e13131a5b241" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/syuni/rust-by-example [INFO] finished tweaking git repo https://github.com/syuni/rust-by-example [INFO] tweaked toml for git repo https://github.com/syuni/rust-by-example written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/syuni/rust-by-example already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e60d9e09c55855f5a848fde8ad83e13131a5b241" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-13/source/src/8_2_4.rs [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e60d9e09c55855f5a848fde8ad83e13131a5b241" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a34190e0767fb30ed11d2f0136c4eaef60130dd0cc37825c06958bf799eaf14 [INFO] running `"docker" "start" "-a" "5a34190e0767fb30ed11d2f0136c4eaef60130dd0cc37825c06958bf799eaf14"` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/8_2_4.rs [INFO] [stderr] Checking rust-by-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/7_2_1.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | 'inner: loop { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/8_2_6_1.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | println!("2 in array2: {}", array2.into_iter().any(|&x| x == 2)); [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,` [INFO] [stderr] --> src/13_7_2.rs:10:32 [INFO] [stderr] | [INFO] [stderr] 10 | fn contains(&self, &Self::A, &Self::B) -> bool; [INFO] [stderr] | ^ expected one of 9 possible tokens [INFO] [stderr] [INFO] [stderr] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)` [INFO] [stderr] --> src/13_7_2.rs:10:42 [INFO] [stderr] | [INFO] [stderr] 10 | fn contains(&self, &Self::A, &Self::B) -> bool; [INFO] [stderr] | ^ expected one of 9 possible tokens [INFO] [stderr] [INFO] [stderr] warning: function is never used: `function` [INFO] [stderr] --> src/10_4.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn function() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `rust-by-example`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `std::iter` [INFO] [stderr] --> src/9_4.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | use std::iter; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `9_4` [INFO] [stderr] --> src/9_4.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::ops::{Add, Mul, Sub}; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | macro_rules! assert_equal_len { [INFO] [stderr] 4 | | // `tt`(トークン木)識別子は演算子とトークン用の識別子です。 [INFO] [stderr] ... | [INFO] [stderr] 57 | | test!(sub_assign, 3u32, 2u32, 1u32); [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/9_4.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `rust-by-example`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/7_2_1.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | 'inner: loop { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/8_2_6_1.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | println!("2 in array2: {}", array2.into_iter().any(|&x| x == 2)); [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "5a34190e0767fb30ed11d2f0136c4eaef60130dd0cc37825c06958bf799eaf14"` [INFO] running `"docker" "rm" "-f" "5a34190e0767fb30ed11d2f0136c4eaef60130dd0cc37825c06958bf799eaf14"` [INFO] [stdout] 5a34190e0767fb30ed11d2f0136c4eaef60130dd0cc37825c06958bf799eaf14