[INFO] fetching crate sql_lexer 0.9.1... [INFO] checking sql_lexer-0.9.1 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate sql_lexer 0.9.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate sql_lexer 0.9.1 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sql_lexer 0.9.1 [INFO] finished tweaking crates.io crate sql_lexer 0.9.1 [INFO] tweaked toml for crates.io crate sql_lexer 0.9.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 017c7f86aab291f1f909f8a324f896814e2f542b1496f2b5ff5b07144796c5e3 [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" "017c7f86aab291f1f909f8a324f896814e2f542b1496f2b5ff5b07144796c5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "017c7f86aab291f1f909f8a324f896814e2f542b1496f2b5ff5b07144796c5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "017c7f86aab291f1f909f8a324f896814e2f542b1496f2b5ff5b07144796c5e3", kill_on_drop: false }` [INFO] [stdout] 017c7f86aab291f1f909f8a324f896814e2f542b1496f2b5ff5b07144796c5e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e45ddc26372e511a3bf569a11b05780270cde5ce836c5e39e83362b647e27d0c [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" "e45ddc26372e511a3bf569a11b05780270cde5ce836c5e39e83362b647e27d0c", kill_on_drop: false }` [INFO] [stderr] Checking sql_lexer v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:298:7 [INFO] [stdout] | [INFO] [stdout] 298 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:312:7 [INFO] [stdout] | [INFO] [stdout] 312 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:319:7 [INFO] [stdout] | [INFO] [stdout] 319 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(test)] extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:299:44 [INFO] [stdout] | [INFO] [stdout] 299 | fn bench_sanitize_string_quote(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | test::black_box(super::sanitize_string("SELECT `table`.* FROM `table` WHERE `id` = 'secret' LIMIT 1;".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | fn bench_sanitize_string_numeric(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | test::black_box(super::sanitize_string("SELECT `table`.* FROM `table` WHERE `id` = 1 LIMIT 1;".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:313:41 [INFO] [stdout] | [INFO] [stdout] 313 | fn bench_sanitize_string_in(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | test::black_box(super::sanitize_string("SELECT `table`.* FROM `table` WHERE `id` IN (1, 2, 3) LIMIT 1;".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | fn bench_sanitize_insert(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | test::black_box(super::sanitize_string("INSERT INTO \"table\" (\"field1\", \"field2\") VALUES ('value', 1);".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | b.iter(|| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | b.iter(|| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:314:11 [INFO] [stdout] | [INFO] [stdout] 314 | b.iter(|| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:321:11 [INFO] [stdout] | [INFO] [stdout] 321 | b.iter(|| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sql_lexer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e45ddc26372e511a3bf569a11b05780270cde5ce836c5e39e83362b647e27d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45ddc26372e511a3bf569a11b05780270cde5ce836c5e39e83362b647e27d0c", kill_on_drop: false }` [INFO] [stdout] e45ddc26372e511a3bf569a11b05780270cde5ce836c5e39e83362b647e27d0c