[INFO] cloning repository https://github.com/tomafro/flashlight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomafro/flashlight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomafro%2Fflashlight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomafro%2Fflashlight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7529d89eb9d97841151555e04a68763e7d1b0c0 [INFO] checking tomafro/flashlight/e7529d89eb9d97841151555e04a68763e7d1b0c0 against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomafro%2Fflashlight" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomafro/flashlight on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/tomafro/flashlight [INFO] finished tweaking git repo https://github.com/tomafro/flashlight [INFO] tweaked toml for git repo https://github.com/tomafro/flashlight written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tomafro/flashlight 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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.2 [INFO] [stderr] Downloaded indoc-impl v0.2.3 [INFO] [stderr] Downloaded indoc v0.2.3 [INFO] [stderr] Downloaded serde v1.0.34 [INFO] [stderr] Downloaded serde_derive_internals v0.22.0 [INFO] [stderr] Downloaded serde_derive v1.0.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f887fc9dc591124af4b6b1b2982e42c7cd528bc8606b390a388ac3fe2b35326 [INFO] running `Command { std: "docker" "start" "-a" "1f887fc9dc591124af4b6b1b2982e42c7cd528bc8606b390a388ac3fe2b35326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f887fc9dc591124af4b6b1b2982e42c7cd528bc8606b390a388ac3fe2b35326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f887fc9dc591124af4b6b1b2982e42c7cd528bc8606b390a388ac3fe2b35326", kill_on_drop: false }` [INFO] [stdout] 1f887fc9dc591124af4b6b1b2982e42c7cd528bc8606b390a388ac3fe2b35326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b907e04e2f06ce5970e0bd4c01b08d7b262403c79c054b2ce999512125774db4 [INFO] running `Command { std: "docker" "start" "-a" "b907e04e2f06ce5970e0bd4c01b08d7b262403c79c054b2ce999512125774db4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking serde v1.0.34 [INFO] [stderr] Compiling unindent v0.1.2 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling proc-macro-hack v0.4.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking isatty v0.1.6 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling indoc-impl v0.2.3 [INFO] [stderr] Checking indoc v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.34 [INFO] [stderr] Checking serde_json v1.0.13 [INFO] [stderr] Checking docopt v0.8.3 [INFO] [stderr] Checking flashlight v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parser.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / lazy_static! { [INFO] [stdout] 67 | | static ref SPLITTER: Regex = [INFO] [stdout] 68 | | Regex::new(r"^\[([^\]]+)\](?: \[[^\]]+\])? \[([a-z0-9]+…|[a-f0-9-]+)\]").unwrap(); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub input: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub input: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/test.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let log = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 10 | | r#" [INFO] [stdout] 11 | | [web] [a123b…] Aardvaark [INFO] [stdout] 12 | | [web] [a123b…] Buffalo [INFO] [stdout] 13 | | [web] [a123b…] Chinchilla [INFO] [stdout] 14 | | "# [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/test.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let mammals = indoc!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | [web] [a123b…] Aardvaark [INFO] [stdout] 29 | | [web] [a123b…] Buffalo [INFO] [stdout] 30 | | [web] [a123b…] Chinchilla [INFO] [stdout] 31 | | "# [INFO] [stdout] 32 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/test.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | let fish = indoc!( [INFO] [stdout] | ________________^ [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | [web] [b123d…] Albacore [INFO] [stdout] 37 | | [web] [b123d…] Beluga [INFO] [stdout] 38 | | [web] [b123d…] Carp [INFO] [stdout] 39 | | "# [INFO] [stdout] 40 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/test.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let log = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | [web] [a123b…] Aardvaark [INFO] [stdout] 45 | | [web] [b123d…] Albacore [INFO] [stdout] ... | [INFO] [stdout] 50 | | "# [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/test.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | let web = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 65 | | r#" [INFO] [stdout] 66 | | [web] [a123b…] Aardvaark [INFO] [stdout] 67 | | [web] [a123b…] Buffalo [INFO] [stdout] 68 | | [web] [a123b…] Chinchilla [INFO] [stdout] 69 | | "# [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/test.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | let assets = indoc!( [INFO] [stdout] | __________________^ [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | [assets] [b123d…] Albacore [INFO] [stdout] 75 | | [assets] [b123d…] Beluga [INFO] [stdout] 76 | | [assets] [b123d…] Carp [INFO] [stdout] 77 | | "# [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/test.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | let log = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | [web] [a123b…] Aardvaark [INFO] [stdout] 83 | | [assets] [b123d…] Albacore [INFO] [stdout] ... | [INFO] [stdout] 88 | | "# [INFO] [stdout] 89 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/test.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | let log = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | [no-account] [rake] [none] Aardvaark [INFO] [stdout] 102 | | [web] [a123b…] Buffalo [INFO] [stdout] 103 | | [no-account] [rake] [none] Chinchilla [INFO] [stdout] 104 | | "# [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/test.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | let log = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | [no-account] [rake] [none] Aardvaark [INFO] [stdout] 102 | | [web] [a123b…] Buffalo [INFO] [stdout] 103 | | [no-account] [rake] [none] Chinchilla [INFO] [stdout] 104 | | "# [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/test.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | let log = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | [web] [a123b…] Aardvaark [INFO] [stdout] 83 | | [assets] [b123d…] Albacore [INFO] [stdout] ... | [INFO] [stdout] 88 | | "# [INFO] [stdout] 89 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/test.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | let assets = indoc!( [INFO] [stdout] | __________________^ [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | [assets] [b123d…] Albacore [INFO] [stdout] 75 | | [assets] [b123d…] Beluga [INFO] [stdout] 76 | | [assets] [b123d…] Carp [INFO] [stdout] 77 | | "# [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/test.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | let web = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 65 | | r#" [INFO] [stdout] 66 | | [web] [a123b…] Aardvaark [INFO] [stdout] 67 | | [web] [a123b…] Buffalo [INFO] [stdout] 68 | | [web] [a123b…] Chinchilla [INFO] [stdout] 69 | | "# [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/test.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let log = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | [web] [a123b…] Aardvaark [INFO] [stdout] 45 | | [web] [b123d…] Albacore [INFO] [stdout] ... | [INFO] [stdout] 50 | | "# [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cli.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug, PartialEq, Hash, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Context` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Context` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug, PartialEq, Hash, Eq)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Context` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Context` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Serialize, Deserialize, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Line` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Line` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Serialize, Deserialize, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Line` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Line` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/test.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | let fish = indoc!( [INFO] [stdout] | ________________^ [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | [web] [b123d…] Albacore [INFO] [stdout] 37 | | [web] [b123d…] Beluga [INFO] [stdout] 38 | | [web] [b123d…] Carp [INFO] [stdout] 39 | | "# [INFO] [stdout] 40 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/test.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let mammals = indoc!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | [web] [a123b…] Aardvaark [INFO] [stdout] 29 | | [web] [a123b…] Buffalo [INFO] [stdout] 30 | | [web] [a123b…] Chinchilla [INFO] [stdout] 31 | | "# [INFO] [stdout] 32 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/test.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let log = indoc!( [INFO] [stdout] | _______________^ [INFO] [stdout] 10 | | r#" [INFO] [stdout] 11 | | [web] [a123b…] Aardvaark [INFO] [stdout] 12 | | [web] [a123b…] Buffalo [INFO] [stdout] 13 | | [web] [a123b…] Chinchilla [INFO] [stdout] 14 | | "# [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parser.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / lazy_static! { [INFO] [stdout] 67 | | static ref SPLITTER: Regex = [INFO] [stdout] 68 | | Regex::new(r"^\[([^\]]+)\](?: \[[^\]]+\])? \[([a-z0-9]+…|[a-f0-9-]+)\]").unwrap(); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub input: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub input: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flashlight` (lib test) due to 16 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b907e04e2f06ce5970e0bd4c01b08d7b262403c79c054b2ce999512125774db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b907e04e2f06ce5970e0bd4c01b08d7b262403c79c054b2ce999512125774db4", kill_on_drop: false }` [INFO] [stdout] b907e04e2f06ce5970e0bd4c01b08d7b262403c79c054b2ce999512125774db4