[INFO] cloning repository https://github.com/AliasT/craftinginterpreters [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AliasT/craftinginterpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliasT%2Fcraftinginterpreters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliasT%2Fcraftinginterpreters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5831ccc14c50662672419fa9e90f76a4dcc3044 [INFO] checking AliasT/craftinginterpreters against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliasT%2Fcraftinginterpreters" "/workspace/builds/worker-92/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-92/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AliasT/craftinginterpreters on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AliasT/craftinginterpreters [INFO] finished tweaking git repo https://github.com/AliasT/craftinginterpreters [INFO] tweaked toml for git repo https://github.com/AliasT/craftinginterpreters written to /workspace/builds/worker-92/source/Cargo.toml [INFO] crate git repo https://github.com/AliasT/craftinginterpreters already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded siphasher v0.3.5 [INFO] [stderr] Downloaded phf_generator v0.9.0 [INFO] [stderr] Downloaded phf_macros v0.9.0 [INFO] [stderr] Downloaded phf_shared v0.9.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded phf v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de1e0440cdeb62020afb57dc38f8f3f23e4b6f301137b99e19e4a9a8e39d6815 [INFO] running `Command { std: "docker" "start" "-a" "de1e0440cdeb62020afb57dc38f8f3f23e4b6f301137b99e19e4a9a8e39d6815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de1e0440cdeb62020afb57dc38f8f3f23e4b6f301137b99e19e4a9a8e39d6815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1e0440cdeb62020afb57dc38f8f3f23e4b6f301137b99e19e4a9a8e39d6815", kill_on_drop: false }` [INFO] [stdout] de1e0440cdeb62020afb57dc38f8f3f23e4b6f301137b99e19e4a9a8e39d6815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2f01f15c9cfe317d80efff4f0291d997344f8e9a6023f998c3ec8e01c8d66f7 [INFO] running `Command { std: "docker" "start" "-a" "f2f01f15c9cfe317d80efff4f0291d997344f8e9a6023f998c3ec8e01c8d66f7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] phf_shared v0.9.0 (as host dependency): std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling phf_generator v0.9.0 [INFO] [stderr] Compiling phf_macros v0.9.0 [INFO] [stderr] Checking phf v0.9.0 [INFO] [stderr] Checking crafting v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/ast.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | TokenType::IDENTIFIER, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lexer/ast.rs (1 fix) [INFO] [stderr] Fixed src/lexer/token.rs (1 fix) [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crafting` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `walk` [INFO] [stdout] --> src/lexer/ast.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn walk(&self, visitor: &F) -> bool [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `A` [INFO] [stdout] --> src/playground/lifetime.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct A<'a> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `B` [INFO] [stdout] --> src/playground/lifetime.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct B<'a> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `C` [INFO] [stdout] --> src/playground/lifetime.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct C {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test` [INFO] [stdout] --> src/playground/lifetime.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f2f01f15c9cfe317d80efff4f0291d997344f8e9a6023f998c3ec8e01c8d66f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f01f15c9cfe317d80efff4f0291d997344f8e9a6023f998c3ec8e01c8d66f7", kill_on_drop: false }` [INFO] [stdout] f2f01f15c9cfe317d80efff4f0291d997344f8e9a6023f998c3ec8e01c8d66f7