[INFO] fetching crate test-case-derive 0.2.3... [INFO] testing test-case-derive-0.2.3 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate test-case-derive 0.2.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate test-case-derive 0.2.3 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate test-case-derive 0.2.3 [INFO] finished tweaking crates.io crate test-case-derive 0.2.3 [INFO] tweaked toml for crates.io crate test-case-derive 0.2.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05e7fb4bd0fde040aaa7c9009994725907bae02af73cd12e0258654d26053259 [INFO] running `Command { std: "docker" "start" "-a" "05e7fb4bd0fde040aaa7c9009994725907bae02af73cd12e0258654d26053259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05e7fb4bd0fde040aaa7c9009994725907bae02af73cd12e0258654d26053259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e7fb4bd0fde040aaa7c9009994725907bae02af73cd12e0258654d26053259", kill_on_drop: false }` [INFO] [stdout] 05e7fb4bd0fde040aaa7c9009994725907bae02af73cd12e0258654d26053259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af287fbaf69681b45427cb88f589ea5861fab6a7078c6062e5e3bcbe1ffa1a73 [INFO] running `Command { std: "docker" "start" "-a" "af287fbaf69681b45427cb88f589ea5861fab6a7078c6062e5e3bcbe1ffa1a73", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling test-case-derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | 'A'...'Z' => escaped.push(c.to_ascii_lowercase()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/keywords.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref RUST_KEYWORDS: HashSet<&'static str> = [ [INFO] [stdout] 5 | | "as", "break", "const", "continue", "crate", "else", "enum", "extern", "false", "fn", [INFO] [stdout] 6 | | "for", "if", "impl", "in", "let", "loop", "match", "mod", "move", "mut", [INFO] [stdout] ... | [INFO] [stdout] 11 | | ].into_iter().cloned().collect(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/utils/escape_ident.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | escaped.trim_right_matches('_'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/utils/keywords.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | ].into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` 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 #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "af287fbaf69681b45427cb88f589ea5861fab6a7078c6062e5e3bcbe1ffa1a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af287fbaf69681b45427cb88f589ea5861fab6a7078c6062e5e3bcbe1ffa1a73", kill_on_drop: false }` [INFO] [stdout] af287fbaf69681b45427cb88f589ea5861fab6a7078c6062e5e3bcbe1ffa1a73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcac5e763d965a8e26e0dea1749923fa629535c6c3b833257e0c74a654058b87 [INFO] running `Command { std: "docker" "start" "-a" "dcac5e763d965a8e26e0dea1749923fa629535c6c3b833257e0c74a654058b87", kill_on_drop: false }` [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | 'A'...'Z' => escaped.push(c.to_ascii_lowercase()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test-case-derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/keywords.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref RUST_KEYWORDS: HashSet<&'static str> = [ [INFO] [stdout] 5 | | "as", "break", "const", "continue", "crate", "else", "enum", "extern", "false", "fn", [INFO] [stdout] 6 | | "for", "if", "impl", "in", "let", "loop", "match", "mod", "move", "mut", [INFO] [stdout] ... | [INFO] [stdout] 11 | | ].into_iter().cloned().collect(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/utils/escape_ident.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | escaped.trim_right_matches('_'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/utils/keywords.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | ].into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` 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 #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | 'A'...'Z' => escaped.push(c.to_ascii_lowercase()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils/escape_ident.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/keywords.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref RUST_KEYWORDS: HashSet<&'static str> = [ [INFO] [stdout] 5 | | "as", "break", "const", "continue", "crate", "else", "enum", "extern", "false", "fn", [INFO] [stdout] 6 | | "for", "if", "impl", "in", "let", "loop", "match", "mod", "move", "mut", [INFO] [stdout] ... | [INFO] [stdout] 11 | | ].into_iter().cloned().collect(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/acceptance_tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | static ref ACTUAL: String = { [INFO] [stdout] 18 | | let output = run_tests().stdout; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | String::from_utf8_lossy(&output).to_string() [INFO] [stdout] 21 | | }; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/utils/escape_ident.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | escaped.trim_right_matches('_'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/utils/keywords.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | ].into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` 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 #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 307 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/test_cases.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "dcac5e763d965a8e26e0dea1749923fa629535c6c3b833257e0c74a654058b87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcac5e763d965a8e26e0dea1749923fa629535c6c3b833257e0c74a654058b87", kill_on_drop: false }` [INFO] [stdout] dcac5e763d965a8e26e0dea1749923fa629535c6c3b833257e0c74a654058b87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cafc08a9382585ce9157b76777be5f2c33de6a0c5d26db157afff2539ade09b0 [INFO] running `Command { std: "docker" "start" "-a" "cafc08a9382585ce9157b76777be5f2c33de6a0c5d26db157afff2539ade09b0", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils/escape_ident.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | 'A'...'Z' => escaped.push(c.to_ascii_lowercase()), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils/escape_ident.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils/escape_ident.rs:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/utils/keywords.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref RUST_KEYWORDS: HashSet<&'static str> = [ [INFO] [stderr] 5 | | "as", "break", "const", "continue", "crate", "else", "enum", "extern", "false", "fn", [INFO] [stderr] 6 | | "for", "if", "impl", "in", "let", "loop", "match", "mod", "move", "mut", [INFO] [stderr] ... | [INFO] [stderr] 11 | | ].into_iter().cloned().collect(); [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/prelude.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/utils/escape_ident.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | escaped.trim_right_matches('_'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 221 | #![feature(proc_macro)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/utils/keywords.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | ].into_iter().cloned().collect(); [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:307:26 [INFO] [stderr] | [INFO] [stderr] 307 | Err(e) => panic!(e) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 307 | Err(e) => panic!("{}", e) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 307 | Err(e) => std::panic::panic_any(e) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils/escape_ident.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | 'A'...'Z' => escaped.push(c.to_ascii_lowercase()), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils/escape_ident.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils/escape_ident.rs:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | 'a'...'z' | '0'...'9' => escaped.push(c), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/utils/keywords.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref RUST_KEYWORDS: HashSet<&'static str> = [ [INFO] [stderr] 5 | | "as", "break", "const", "continue", "crate", "else", "enum", "extern", "false", "fn", [INFO] [stderr] 6 | | "for", "if", "impl", "in", "let", "loop", "match", "mod", "move", "mut", [INFO] [stderr] ... | [INFO] [stderr] 11 | | ].into_iter().cloned().collect(); [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/prelude.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/utils/escape_ident.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | escaped.trim_right_matches('_'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 221 | #![feature(proc_macro)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/utils/keywords.rs:11:7 [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 11 | ].into_iter().cloned().collect(); [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:307:26 [INFO] [stderr] | [INFO] [stderr] 307 | Err(e) => panic!(e) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 307 | Err(e) => panic!("{}", e) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 307 | Err(e) => std::panic::panic_any(e) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stderr] --> tests/test_cases.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(proc_macro)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> tests/acceptance_tests.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | static ref ACTUAL: String = { [INFO] [stderr] 18 | | let output = run_tests().stdout; [INFO] [stderr] 19 | | [INFO] [stderr] 20 | | String::from_utf8_lossy(&output).to_string() [INFO] [stderr] 21 | | }; [INFO] [stderr] 22 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/test_case_derive-f1e0a757c62b7a3d) [INFO] [stderr] Running tests/acceptance_tests.rs (/opt/rustwide/target/debug/deps/acceptance_tests-a318d38399e6c0e6) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test acceptance::marks_inconclusive_tests_as_ignored ... ok [INFO] [stdout] test acceptance::runs_all_tests ... ok [INFO] [stdout] test acceptance::removes_repeated_underscores ... ok [INFO] [stdout] test acceptance::escapes_unnecessary_leading_underscore ... ok [INFO] [stdout] test acceptance::lowers_test_case_name ... ok [INFO] [stdout] test acceptance::escapes_names_starting_with_digit ... ok [INFO] [stdout] test acceptance::escapes_rust_keywords ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/test_cases.rs (/opt/rustwide/target/debug/deps/test_cases-5973f60afd10d6f1) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test test_cases::inconclusive_tests::this_test_is_inconclusive_and_will_always_be ... ignored [INFO] [stdout] test test_cases::abs_tests::returns_0_for_0 ... ok [INFO] [stdout] test test_cases::multiple_test_cases::_2 ... ok [INFO] [stdout] test test_cases::result::_2 ... ok [INFO] [stdout] test test_cases::result_and_name::_4_5 ... ok [INFO] [stdout] test test_cases::result::_4 ... ok [INFO] [stdout] test test_cases::multiple_test_cases::_4 ... ok [INFO] [stdout] test test_cases::fancy_addition::some_2_some_3 ... ok [INFO] [stdout] test test_cases::result_and_name::test_no_1 ... ok [INFO] [stdout] test test_cases::result_expresion_with_name::test_result_expression ... ok [INFO] [stdout] test test_cases::fancy_addition::some_2_3_some_4 ... ok [INFO] [stdout] test test_cases::name::_2nd_test ... ok [INFO] [stdout] test test_cases::abs_tests::returns_opposite_number_for_non_positive_input ... ok [INFO] [stdout] test test_cases::lowercase_test_name::dummy_code ... ok [INFO] [stdout] test test_cases::name::test_1_8_9 ... ok [INFO] [stdout] test test_cases::abs_tests::returns_given_number_for_positive_input ... ok [INFO] [stdout] test test_cases::arg_expressions::_2_4_6_to_string ... ok [INFO] [stdout] test test_cases::nested::using_fn_from_super::_42 ... ok [INFO] [stdout] test test_cases::basic_test::_1 ... ok [INFO] [stdout] test test_cases::name::_4_5 ... ok [INFO] [stdout] test test_cases::inconclusive_tests::should_not_take_into_account_keyword_on_argument_position ... ok [INFO] [stdout] test test_cases::fancy_addition::treats_none_as_0 ... ok [INFO] [stdout] test test_cases::keyword_test::_true ... ok [INFO] [stdout] test test_cases::nested::using_fn_from_super::_20_22 ... ok [INFO] [stdout] test test_cases::name::test_3_6_9 ... ok [INFO] [stdout] test test_cases::multiplication_tests::when_operands_are_swapped ... ok [INFO] [stdout] test test_cases::nested::nested_test_case::_1_1 ... ok [INFO] [stdout] test test_cases::multiplication_tests::when_both_operands_are_possitive ... ok [INFO] [stdout] test test_cases::result_expression::_2_2 ... ok [INFO] [stdout] test test_cases::result_with_mod_sep::_42 ... ok [INFO] [stdout] test test_cases::leading_underscore_in_test_name::dummy ... ok [INFO] [stdout] test test_cases::multiplication_tests::when_both_operands_are_negative ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cafc08a9382585ce9157b76777be5f2c33de6a0c5d26db157afff2539ade09b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cafc08a9382585ce9157b76777be5f2c33de6a0c5d26db157afff2539ade09b0", kill_on_drop: false }` [INFO] [stdout] cafc08a9382585ce9157b76777be5f2c33de6a0c5d26db157afff2539ade09b0