[INFO] fetching crate sas-lexer 1.0.0-beta.4... [INFO] testing sas-lexer-1.0.0-beta.4 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sas-lexer 1.0.0-beta.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate sas-lexer 1.0.0-beta.4 [INFO] finished tweaking crates.io crate sas-lexer 1.0.0-beta.4 [INFO] tweaked toml for crates.io crate sas-lexer 1.0.0-beta.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sas-lexer 1.0.0-beta.4 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 233 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding phf v0.11.3 (available: v0.13.1) [INFO] [stderr] Adding pprof v0.13.0 (available: v0.15.0) [INFO] [stderr] Adding rstest v0.22.0 (available: v0.26.1) [INFO] [stderr] Adding strum v0.26.3 (available: v0.27.2) [INFO] [stderr] Adding zip v2.4.2 (available: v5.1.1) [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] ab492720e0ef0e406e0cb10759ec4c1cf83fccbf547efdda04fc01d2bbc729dd [INFO] running `Command { std: "docker" "start" "-a" "ab492720e0ef0e406e0cb10759ec4c1cf83fccbf547efdda04fc01d2bbc729dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab492720e0ef0e406e0cb10759ec4c1cf83fccbf547efdda04fc01d2bbc729dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab492720e0ef0e406e0cb10759ec4c1cf83fccbf547efdda04fc01d2bbc729dd", kill_on_drop: false }` [INFO] [stdout] ab492720e0ef0e406e0cb10759ec4c1cf83fccbf547efdda04fc01d2bbc729dd [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] c7a457c1e5c51e05f6ec1dea9a4908e18ce68e4b66700230d51f2f4c6dd3a360 [INFO] running `Command { std: "docker" "start" "-a" "c7a457c1e5c51e05f6ec1dea9a4908e18ce68e4b66700230d51f2f4c6dd3a360", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling lexical-util v1.0.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling sas-lexer v1.0.0-beta.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling lexical-write-integer v1.0.6 [INFO] [stderr] Compiling lexical-parse-integer v1.0.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling lexical-write-float v1.0.6 [INFO] [stderr] Compiling lexical-parse-float v1.0.6 [INFO] [stderr] Compiling lexical-core v1.0.6 [INFO] [stderr] Compiling lexical v7.0.5 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling sas-lexer-macro v0.1.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stdout] warning: use of deprecated method `lexical::NumberFormatBuilder::build`: Use `build_strict` or `build_unchecked` instead. [INFO] [stdout] --> src/lexer/numeric.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | .build(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lexical::NumberFormatBuilder::build`: Use `build_strict` or `build_unchecked` instead. [INFO] [stdout] --> src/lexer/numeric.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | .build(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer/mod.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | source: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 125 | ) -> Result { [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | ) -> Result, ErrorKind> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.74s [INFO] running `Command { std: "docker" "inspect" "c7a457c1e5c51e05f6ec1dea9a4908e18ce68e4b66700230d51f2f4c6dd3a360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a457c1e5c51e05f6ec1dea9a4908e18ce68e4b66700230d51f2f4c6dd3a360", kill_on_drop: false }` [INFO] [stdout] c7a457c1e5c51e05f6ec1dea9a4908e18ce68e4b66700230d51f2f4c6dd3a360 [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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb3d955f6917e8a3f893384e7b6993e5aecfdb5945a9ddd6bd6b9f15549036a9 [INFO] running `Command { std: "docker" "start" "-a" "eb3d955f6917e8a3f893384e7b6993e5aecfdb5945a9ddd6bd6b9f15549036a9", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling cpp_demangle v0.4.5 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling symbolic-demangle v12.16.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling symbolic-common v12.16.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling deflate64 v0.1.10 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling sas-lexer-macro v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling sas-lexer v1.0.0-beta.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `lexical::NumberFormatBuilder::build`: Use `build_strict` or `build_unchecked` instead. [INFO] [stdout] --> src/lexer/numeric.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | .build(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lexical::NumberFormatBuilder::build`: Use `build_strict` or `build_unchecked` instead. [INFO] [stdout] --> src/lexer/numeric.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | .build(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer/mod.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | source: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 125 | ) -> Result { [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | ) -> Result, ErrorKind> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.22.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] error[E0583]: file not found for module `tests` [INFO] [stdout] --> src/lexer/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tests`, create file "src/lexer/tests.rs" or "src/lexer/tests/mod.rs" [INFO] [stdout] = note: if there is a `mod tests` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lexical::NumberFormatBuilder::build`: Use `build_strict` or `build_unchecked` instead. [INFO] [stdout] --> src/lexer/numeric.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | .build(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lexical::NumberFormatBuilder::build`: Use `build_strict` or `build_unchecked` instead. [INFO] [stdout] --> src/lexer/numeric.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | .build(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `token_type::TokenType: Hash` is not satisfied [INFO] [stdout] --> src/lexer/token_type.rs:454:24 [INFO] [stdout] | [INFO] [stdout] 454 | .collect::>() [INFO] [stdout] | ------- ^^^^^^^^^^ the trait `Hash` is not implemented for `token_type::TokenType` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is implemented for `HashSet` [INFO] [stdout] = note: required for `HashSet` to implement `FromIterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] help: consider annotating `token_type::TokenType` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 38 + #[derive(Hash)] [INFO] [stdout] 39 | pub enum TokenType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sas-lexer` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb3d955f6917e8a3f893384e7b6993e5aecfdb5945a9ddd6bd6b9f15549036a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb3d955f6917e8a3f893384e7b6993e5aecfdb5945a9ddd6bd6b9f15549036a9", kill_on_drop: false }` [INFO] [stdout] eb3d955f6917e8a3f893384e7b6993e5aecfdb5945a9ddd6bd6b9f15549036a9