[INFO] cloning repository https://github.com/yufengwng/reef [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yufengwng/reef" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyufengwng%2Freef", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyufengwng%2Freef'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9862917c40fbc13522abbc727072be33a78f6168 [INFO] checking yufengwng/reef against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyufengwng%2Freef" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yufengwng/reef on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yufengwng/reef [INFO] finished tweaking git repo https://github.com/yufengwng/reef [INFO] tweaked toml for git repo https://github.com/yufengwng/reef written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/yufengwng/reef already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea20b9086220fb47c53f8579ecdc7501aefb25da7919febcc7829c216f10238c [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" "ea20b9086220fb47c53f8579ecdc7501aefb25da7919febcc7829c216f10238c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea20b9086220fb47c53f8579ecdc7501aefb25da7919febcc7829c216f10238c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea20b9086220fb47c53f8579ecdc7501aefb25da7919febcc7829c216f10238c", kill_on_drop: false }` [INFO] [stdout] ea20b9086220fb47c53f8579ecdc7501aefb25da7919febcc7829c216f10238c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2f7933d4e6162dd8fba19f6869431c3a80780808030c8c1cdc8f2b9ccc2ceb29 [INFO] running `Command { std: "docker" "start" "-a" "2f7933d4e6162dd8fba19f6869431c3a80780808030c8c1cdc8f2b9ccc2ceb29", kill_on_drop: false }` [INFO] [stderr] Checking reef v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ast::TnKind` [INFO] [stdout] --> src/lex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::TnKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `txt` in initializer of `ast::Token` [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Token { [INFO] [stdout] | ^^^^^ missing `txt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `txt` in initializer of `ast::Token` [INFO] [stdout] --> src/ast.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Token { [INFO] [stdout] | ^^^^^ missing `txt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::TnKind` [INFO] [stdout] --> src/lex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::TnKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `line` on type `&mut lex::Cursor<'_>` [INFO] [stdout] --> src/lex.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | let token = Token::sep(self.line, self.idx); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `len`, `idx`, `row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `txt` in initializer of `ast::Token` [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Token { [INFO] [stdout] | ^^^^^ missing `txt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `txt` in initializer of `ast::Token` [INFO] [stdout] --> src/ast.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Token { [INFO] [stdout] | ^^^^^ missing `txt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lex.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ------------- expected `std::option::Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 24 | token [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::option::Option`, found struct `ast::Token` [INFO] [stdout] | help: try using a variant of the expected enum: `Some(token)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `ast::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `line` on type `&mut lex::Cursor<'_>` [INFO] [stdout] --> src/lex.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | let token = Token::sep(self.line, self.idx); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `len`, `idx`, `row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `line` on type `&mut lex::Cursor<'_>` [INFO] [stdout] --> src/lex.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | let token = Token::sep(self.line, self.idx); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `len`, `idx`, `row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lex.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ------------- expected `std::option::Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 29 | token [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::option::Option`, found struct `ast::Token` [INFO] [stdout] | help: try using a variant of the expected enum: `Some(token)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `ast::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lex.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn next_word(&mut self) -> Token { [INFO] [stdout] | ----- expected `ast::Token` because of return type [INFO] [stdout] ... [INFO] [stdout] 39 | while !self.is_eof() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ast::Token`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lex.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ------------- expected `std::option::Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 24 | token [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::option::Option`, found struct `ast::Token` [INFO] [stdout] | help: try using a variant of the expected enum: `Some(token)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `ast::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `line` on type `&mut lex::Cursor<'_>` [INFO] [stdout] --> src/lex.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | let token = Token::sep(self.line, self.idx); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `len`, `idx`, `row` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reef`. [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] error[E0308]: mismatched types [INFO] [stdout] --> src/lex.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ------------- expected `std::option::Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 29 | token [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::option::Option`, found struct `ast::Token` [INFO] [stdout] | help: try using a variant of the expected enum: `Some(token)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `ast::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lex.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn next_word(&mut self) -> Token { [INFO] [stdout] | ----- expected `ast::Token` because of return type [INFO] [stdout] ... [INFO] [stdout] 39 | while !self.is_eof() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ast::Token`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2f7933d4e6162dd8fba19f6869431c3a80780808030c8c1cdc8f2b9ccc2ceb29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7933d4e6162dd8fba19f6869431c3a80780808030c8c1cdc8f2b9ccc2ceb29", kill_on_drop: false }` [INFO] [stdout] 2f7933d4e6162dd8fba19f6869431c3a80780808030c8c1cdc8f2b9ccc2ceb29