[INFO] cloning repository https://github.com/JanCoe/lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JanCoe/lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanCoe%2Flang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanCoe%2Flang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 687931552ca194464cd42116679911078cc6ce14 [INFO] testing JanCoe/lang against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanCoe%2Flang" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JanCoe/lang [INFO] finished tweaking git repo https://github.com/JanCoe/lang [INFO] tweaked toml for git repo https://github.com/JanCoe/lang written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JanCoe/lang on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JanCoe/lang 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.0 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded anstyle v1.0.7 [INFO] [stderr] Downloaded anstyle-wincon v3.0.3 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded anstyle-parse v0.2.4 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded colorchoice v1.0.1 [INFO] [stderr] Downloaded anstream v0.6.14 [INFO] [stderr] Downloaded proc-macro2 v1.0.82 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a1ed7514e13d09acd78cdc3fd56ea9f73bef9e261d35eff2cec34344d174ec3 [INFO] running `Command { std: "docker" "start" "-a" "1a1ed7514e13d09acd78cdc3fd56ea9f73bef9e261d35eff2cec34344d174ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a1ed7514e13d09acd78cdc3fd56ea9f73bef9e261d35eff2cec34344d174ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1ed7514e13d09acd78cdc3fd56ea9f73bef9e261d35eff2cec34344d174ec3", kill_on_drop: false }` [INFO] [stdout] 1a1ed7514e13d09acd78cdc3fd56ea9f73bef9e261d35eff2cec34344d174ec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f364a4898c74b02d4913e4b7fdc26795bb57ac983f7011d889152710152d814 [INFO] running `Command { std: "docker" "start" "-a" "7f364a4898c74b02d4913e4b7fdc26795bb57ac983f7011d889152710152d814", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `scan_tokens` found for struct `Scanner` in the current scope [INFO] [stdout] --> src/main.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 64 | struct Scanner { [INFO] [stdout] | -------------- method `scan_tokens` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 126 | let tokens = scanner.scan_tokens(); [INFO] [stdout] | ^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `Scanner` [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | fn scan_tokens() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 126 - let tokens = scanner.scan_tokens(); [INFO] [stdout] 126 + let tokens = Scanner::scan_tokens(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/main.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | fn add_token(token_type: TokenType) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lang` (bin "lang") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7f364a4898c74b02d4913e4b7fdc26795bb57ac983f7011d889152710152d814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f364a4898c74b02d4913e4b7fdc26795bb57ac983f7011d889152710152d814", kill_on_drop: false }` [INFO] [stdout] 7f364a4898c74b02d4913e4b7fdc26795bb57ac983f7011d889152710152d814