[INFO] cloning repository https://github.com/kaby76/rust_ex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaby76/rust_ex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaby76%2Frust_ex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaby76%2Frust_ex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af44b0ce91e6f65703c4a7c11855a0b0a156e03c [INFO] testing kaby76/rust_ex against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaby76%2Frust_ex" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kaby76/rust_ex [INFO] finished tweaking git repo https://github.com/kaby76/rust_ex [INFO] tweaked toml for git repo https://github.com/kaby76/rust_ex written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kaby76/rust_ex on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kaby76/rust_ex 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c0255c9ac430fe1ac47b72c6ab9ec02561c625703b66d3e71503a589f098941 [INFO] running `Command { std: "docker" "start" "-a" "7c0255c9ac430fe1ac47b72c6ab9ec02561c625703b66d3e71503a589f098941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c0255c9ac430fe1ac47b72c6ab9ec02561c625703b66d3e71503a589f098941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0255c9ac430fe1ac47b72c6ab9ec02561c625703b66d3e71503a589f098941", kill_on_drop: false }` [INFO] [stdout] 7c0255c9ac430fe1ac47b72c6ab9ec02561c625703b66d3e71503a589f098941 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df178e9bebbef3d879944df8595ecaa491f21919e88f444e1e47396d6ca27ae6 [INFO] running `Command { std: "docker" "start" "-a" "df178e9bebbef3d879944df8595ecaa491f21919e88f444e1e47396d6ca27ae6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling better_any v0.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling murmur3 v0.4.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling antlr4rust v0.3.0-beta2 [INFO] [stderr] Compiling test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `abbLexer` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod abbLexer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `abbLexer`, create file "src/abbLexer.rs" or "src/abbLexer/mod.rs" [INFO] [stdout] = note: if there is a `mod abbLexer` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `abbParser` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod abbParser; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `abbParser`, create file "src/abbParser.rs" or "src/abbParser/mod.rs" [INFO] [stdout] = note: if there is a `mod abbParser` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bitset` in `antlr4rust` [INFO] [stdout] --> src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | ambig_alts: antlr4rust::bitset::BitSet, config: antlr4rust::atn_config_set::ATNConfigSet [INFO] [stdout] | ^^^^^^ could not find `bitset` in `antlr4rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bitset` in `antlr4rust` [INFO] [stdout] --> src/main.rs:55:78 [INFO] [stdout] | [INFO] [stdout] 55 | start_index: isize, stop_index: isize, conflicting_alts: antlr4rust::bitset::BitSet, [INFO] [stdout] | ^^^^^^ could not find `bitset` in `antlr4rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | &self, recognizer: &T, offending_symbol: Option<&Token>, line: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 30 | &self, recognizer: &T, offending_symbol: Option<&dyn Token>, line: usize, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/main.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a, W: Write> ErrorListener<'a> for CustomErrorListener { [INFO] [stdout] | ^^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/antlr4rust-0.3.0-beta2/src/error_listener.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait ErrorListener<'a, T: Recognizer<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a, W: Write> ErrorListener<'a, T> for CustomErrorListener { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | fn syntax_error>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 29 | fn syntax_error>>( [INFO] [stdout] | +++ [INFO] [stdout] help: you might have meant to write a bound here [INFO] [stdout] | [INFO] [stdout] 29 - fn syntax_error>>( [INFO] [stdout] 29 + fn syntax_error>>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | fn report_ambiguity>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 45 | fn report_ambiguity>>( [INFO] [stdout] | +++ [INFO] [stdout] help: you might have meant to write a bound here [INFO] [stdout] | [INFO] [stdout] 45 - fn report_ambiguity>>( [INFO] [stdout] 45 + fn report_ambiguity>>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:53:62 [INFO] [stdout] | [INFO] [stdout] 53 | fn report_attempting_full_context>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 53 | fn report_attempting_full_context>>( [INFO] [stdout] | +++ [INFO] [stdout] help: you might have meant to write a bound here [INFO] [stdout] | [INFO] [stdout] 53 - fn report_attempting_full_context>>( [INFO] [stdout] 53 + fn report_attempting_full_context>>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:61:58 [INFO] [stdout] | [INFO] [stdout] 61 | fn report_context_sensitivity>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 61 | fn report_context_sensitivity>>( [INFO] [stdout] | +++ [INFO] [stdout] help: you might have meant to write a bound here [INFO] [stdout] | [INFO] [stdout] 61 - fn report_context_sensitivity>>( [INFO] [stdout] 61 + fn report_context_sensitivity>>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ConsoleErrorListener` in the current scope [INFO] [stdout] --> src/main.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | ConsoleErrorListener::default().report_ambiguity(recognizer, dfa, start_index, stop_index, exact, &ambig_alts, &config); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ConsoleErrorListener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ConsoleErrorListener` in the current scope [INFO] [stdout] --> src/main.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | ... ConsoleErrorListener::default().report_attempting_full_context(recognizer, dfa, start_index, stop_index, &conflicting_alts, &config); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ConsoleErrorListener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ConsoleErrorListener` in the current scope [INFO] [stdout] --> src/main.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | ConsoleErrorListener::default().report_context_sensitivity(recognizer, dfa, start_index, stop_index, prediction, &config); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ConsoleErrorListener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | let istream = InputStream::new(input_data); [INFO] [stdout] | ---------------- ^^^^^^^^^^ expected `&_`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/antlr4rust-0.3.0-beta2/src/input_stream.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(data_raw: &'a Data) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 84 | let istream = InputStream::new(&input_data); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `InputStream` in the current scope [INFO] [stdout] --> src/main.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | let lexer = abbLexer::new(istream.clone()); [INFO] [stdout] | ^^^^^ method not found in `InputStream<&_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | if t.get_token_type() == Token::EOF { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 89 | if t.get_token_type() == ::EOF { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | process::exit(error_code); [INFO] [stdout] | ------------- ^^^^^^^^^^ expected `i32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/process.rs:2443:8 [INFO] [stdout] help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 213 | process::exit(error_code.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0433, E0583, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test` (bin "test") due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "df178e9bebbef3d879944df8595ecaa491f21919e88f444e1e47396d6ca27ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df178e9bebbef3d879944df8595ecaa491f21919e88f444e1e47396d6ca27ae6", kill_on_drop: false }` [INFO] [stdout] df178e9bebbef3d879944df8595ecaa491f21919e88f444e1e47396d6ca27ae6