[INFO] fetching crate diecast 0.0.1... [INFO] checking diecast-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate diecast 0.0.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate diecast 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diecast 0.0.1 [INFO] finished tweaking crates.io crate diecast 0.0.1 [INFO] tweaked toml for crates.io crate diecast 0.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/bin/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/bin/main.rs` was erroneously implicitly accepted for binary `diecast`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 048e612369982b5e6d4379748dc1c5b6752bbbd34ac1ca3cd4708cee72235c2b [INFO] running `Command { std: "docker" "start" "-a" "048e612369982b5e6d4379748dc1c5b6752bbbd34ac1ca3cd4708cee72235c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "048e612369982b5e6d4379748dc1c5b6752bbbd34ac1ca3cd4708cee72235c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048e612369982b5e6d4379748dc1c5b6752bbbd34ac1ca3cd4708cee72235c2b", kill_on_drop: false }` [INFO] [stdout] 048e612369982b5e6d4379748dc1c5b6752bbbd34ac1ca3cd4708cee72235c2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1be22230a77d649cf64ee6049f093f044fe8aa39c2066e112c365860d2a4495 [INFO] running `Command { std: "docker" "start" "-a" "c1be22230a77d649cf64ee6049f093f044fe8aa39c2066e112c365860d2a4495", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/bin/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/bin/main.rs` was erroneously implicitly accepted for binary `diecast`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking diecast v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/lib/item.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{mod, Show}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{r#mod, Show}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib/compile.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | self.compilers.push(box compiler); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 50 | self.compilers.push(Box::new(compiler)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib/generator.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | pattern: box pattern as Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 60 | pattern: Box::new(pattern) as Box, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib/generator.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | compiler: box compiler as Box [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 61 | compiler: Box::new(compiler) as Box [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/lib/dependency.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{mod, Show}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{r#mod, Show}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/lib/item.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{mod, Show}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{r#mod, Show}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib/compile.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | self.compilers.push(box compiler); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 50 | self.compilers.push(Box::new(compiler)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib/generator.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | pattern: box pattern as Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 60 | pattern: Box::new(pattern) as Box, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib/generator.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | compiler: box compiler as Box [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 61 | compiler: Box::new(compiler) as Box [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/lib/dependency.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{mod, Show}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{r#mod, Show}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib/diecast.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `graphviz` [INFO] [stdout] --> src/lib/diecast.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate graphviz; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]` [INFO] [stdout] --> src/lib/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try an outer attribute: `#[macro_use]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex_macros` [INFO] [stdout] --> src/lib/diecast.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate regex_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib/diecast.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `graphviz` [INFO] [stdout] --> src/lib/diecast.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate graphviz; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]` [INFO] [stdout] --> src/lib/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try an outer attribute: `#[macro_use]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex_macros` [INFO] [stdout] --> src/lib/diecast.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate regex_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::Writer` [INFO] [stdout] --> src/lib/item.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hash, Writer}; [INFO] [stdout] | ^^^^^^ no `Writer` in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::fmt::r#mod`, `std::fmt::Show` [INFO] [stdout] --> src/lib/item.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{mod, Show}; [INFO] [stdout] | ^^^ ^^^^ no `Show` in `fmt` [INFO] [stdout] | | [INFO] [stdout] | no `r#mod` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/lib/compile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::Writer` [INFO] [stdout] --> src/lib/item.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hash, Writer}; [INFO] [stdout] | ^^^^^^ no `Writer` in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/lib/generator.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::fs::PathExtensions; [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/lib/generator.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use std::io::fs; [INFO] [stdout] | ^^^^^^^^^^^ no `fs` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 33 | use std::fs; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] 33 | use std::os::linux::fs; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 33 | use std::os::unix::fs; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::fmt::r#mod`, `std::fmt::Show` [INFO] [stdout] --> src/lib/item.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{mod, Show}; [INFO] [stdout] | ^^^ ^^^^ no `Show` in `fmt` [INFO] [stdout] | | [INFO] [stdout] | no `r#mod` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::RingBuf` [INFO] [stdout] --> src/lib/dependency.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, RingBuf}; [INFO] [stdout] | ^^^^^^^ no `RingBuf` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/lib/compile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/lib/generator.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::fs::PathExtensions; [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::collections::hash_map::Vacant`, `std::collections::hash_map::Occupied` [INFO] [stdout] --> src/lib/dependency.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::{Vacant, Occupied, Keys}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `Occupied` in `collections::hash_map` [INFO] [stdout] | | [INFO] [stdout] | no `Vacant` in `collections::hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] std::collections::btree_map::Entry::Vacant [INFO] [stdout] std::collections::hash_map::Entry::Vacant [INFO] [stdout] std::collections::hash_map::RawEntryMut::Vacant [INFO] [stdout] anymap::Entry::Vacant [INFO] [stdout] anymap::raw::Entry::Vacant [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] std::collections::btree_map::Entry::Occupied [INFO] [stdout] std::collections::hash_map::Entry::Occupied [INFO] [stdout] std::collections::hash_map::RawEntryMut::Occupied [INFO] [stdout] anymap::Entry::Occupied [INFO] [stdout] anymap::raw::Entry::Occupied [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/lib/generator.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use std::io::fs; [INFO] [stdout] | ^^^^^^^^^^^ no `fs` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 33 | use std::fs; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] 33 | use std::os::linux::fs; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 33 | use std::os::unix::fs; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_set::SetItems` [INFO] [stdout] --> src/lib/dependency.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::hash_set::SetItems; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SetItems` in `collections::hash_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::RingBuf` [INFO] [stdout] --> src/lib/dependency.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, RingBuf}; [INFO] [stdout] | ^^^^^^^ no `RingBuf` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::fmt::r#mod`, `std::fmt::Show` [INFO] [stdout] --> src/lib/dependency.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{mod, Show}; [INFO] [stdout] | ^^^ ^^^^ no `Show` in `fmt` [INFO] [stdout] | | [INFO] [stdout] | no `r#mod` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::collections::hash_map::Vacant`, `std::collections::hash_map::Occupied` [INFO] [stdout] --> src/lib/dependency.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::{Vacant, Occupied, Keys}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `Occupied` in `collections::hash_map` [INFO] [stdout] | | [INFO] [stdout] | no `Vacant` in `collections::hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] std::collections::btree_map::Entry::Vacant [INFO] [stdout] std::collections::hash_map::Entry::Vacant [INFO] [stdout] std::collections::hash_map::RawEntryMut::Vacant [INFO] [stdout] anymap::Entry::Vacant [INFO] [stdout] anymap::raw::Entry::Vacant [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] std::collections::btree_map::Entry::Occupied [INFO] [stdout] std::collections::hash_map::Entry::Occupied [INFO] [stdout] std::collections::hash_map::RawEntryMut::Occupied [INFO] [stdout] anymap::Entry::Occupied [INFO] [stdout] anymap::raw::Entry::Occupied [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_set::SetItems` [INFO] [stdout] --> src/lib/dependency.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::hash_set::SetItems; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SetItems` in `collections::hash_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::hash` [INFO] [stdout] --> src/lib/dependency.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::hash::{hash, Hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `hash` in `hash` [INFO] [stdout] | help: a similar name exists in the module: `Hash` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] std::hash [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::fmt::r#mod`, `std::fmt::Show` [INFO] [stdout] --> src/lib/dependency.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{mod, Show}; [INFO] [stdout] | ^^^ ^^^^ no `Show` in `fmt` [INFO] [stdout] | | [INFO] [stdout] | no `r#mod` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `comment` in this scope [INFO] [stdout] --> src/lib/diecast.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | #![comment = "Language-Agnostic Static Site Generator in Rust"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::hash` [INFO] [stdout] --> src/lib/dependency.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::hash::{hash, Hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `hash` in `hash` [INFO] [stdout] | help: a similar name exists in the module: `Hash` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] std::hash [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/lib/dependency.rs:265:7 [INFO] [stdout] | [INFO] [stdout] 265 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 265 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/lib/dependency.rs:375:18 [INFO] [stdout] | [INFO] [stdout] 375 | use std::io::fs::{PathExtensions, unlink}; [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib/diecast.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![license = "BSD"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib/diecast.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[phase(plugin)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `comment` in this scope [INFO] [stdout] --> src/lib/diecast.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | #![comment = "Language-Agnostic Static Site Generator in Rust"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib/diecast.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![license = "BSD"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib/diecast.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[phase(plugin)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/lib/pattern.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | assert!(regex!(r"introduction").matches(&intro_to_rust)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib/diecast.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/lib/pattern.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | assert!(!regex!(r"introduction").matches(&this_week_in_rust)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib/diecast.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | fn matches(&self, &Path) -> bool; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | fn matches(&self, _: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/item.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub path: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/item.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(path: Path) -> Item { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib/item.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib/item.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/generator.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | input: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/generator.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | output: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/generator.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: Path, output: Path) -> Generator { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/generator.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: Path, output: Path) -> Generator { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/lib/dependency.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | where W: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib/dependency.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib/dependency.rs:99:44 [INFO] [stdout] | [INFO] [stdout] 99 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro-expanded `macro_export` macros from the current crate cannot be referred to by absolute paths [INFO] [stdout] --> src/lib/diecast.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub use pattern; [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 #52234 [INFO] [stdout] note: the macro is defined here [INFO] [stdout] --> src/lib/macros.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / macro_rules! pattern { [INFO] [stdout] 23 | | ($pat:expr) => { [INFO] [stdout] 24 | | { [INFO] [stdout] 25 | | use diecast::pattern::dsl::*; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[deny(macro_expanded_macro_exports_accessed_by_absolute_paths)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib/pattern.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn matches(&self, &Path) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Path` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/item.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(self.path.display().fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dependency::Graph` [INFO] [stdout] --> src/lib/generator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dependency::Graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/dependency.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(self.edges.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib/dependency.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a, T> dot::GraphWalk<'a, &'a T, Edge<'a, T>> for Graph<'a, T> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 133 | fn edges(&'a self) -> dot::Edges<'a, Edge> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pattern` [INFO] [stdout] --> src/lib/diecast.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub use pattern; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `tuple_indexing` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(tuple_indexing)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `default_type_params` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(default_type_params)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `if_let` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(if_let)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `while_let` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(while_let)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib/diecast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/compile.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | compilers: Vec>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | compilers: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/generator.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | bindings: Vec, [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | bindings: Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/generator.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | Box>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/pattern.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl Pattern for 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | impl Pattern for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib/item.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl Hash for Item [INFO] [stdout] | ^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/compile.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | impl Compile for 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | impl Compile for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0412, E0432, E0433, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diecast` (lib) due to 44 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | fn matches(&self, &Path) -> bool; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | fn matches(&self, _: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | fn matches(&self, p: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/pattern.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | fn matches(pattern: T, p: &Path) -> bool [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | let intro_to_rust = Path::new("posts/long/introduction-to-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | let intro_to_rust = Path::new("posts/long/introduction-to-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let about_page = Path::new("pages/about.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let intro_to_rust = Path::new("posts/long/introduction-to-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | let this_week_in_rust = Path::new("posts/short/this-week-in-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | let intro_to_rust = Path::new("posts/long/introduction-to-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | let this_week_in_rust = Path::new("posts/short/this-week-in-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | let about_page = Path::new("pages/about.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | let intro_to_rust = Path::new("posts/long/introduction-to-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | let about_page = Path::new("pages/about.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | let intro_to_rust = Path::new("posts/long/introduction-to-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | let about_page = Path::new("pages/about.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | let about_page = Path::new("pages/about.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | let intro_to_rust = Path::new("posts/long/introduction-to-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | let this_week_in_rust = Path::new("posts/short/this-week-in-rust.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/pattern.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let about_page = Path::new("pages/about.md"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/item.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub path: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/item.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(path: Path) -> Item { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib/item.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib/item.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/generator.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | input: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/generator.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | output: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/generator.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: Path, output: Path) -> Generator { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib/generator.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: Path, output: Path) -> Generator { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/lib/dependency.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | where W: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib/dependency.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib/dependency.rs:99:44 [INFO] [stdout] | [INFO] [stdout] 99 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | let a = &Item::new(Path::new("a")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | let b = &Item::new(Path::new("b")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | let c = &Item::new(Path::new("c")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | let item0 = &Item::new(Path::new("0")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | let item1 = &Item::new(Path::new("1")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:287:28 [INFO] [stdout] | [INFO] [stdout] 287 | let item2 = &Item::new(Path::new("2")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:288:28 [INFO] [stdout] | [INFO] [stdout] 288 | let item3 = &Item::new(Path::new("3")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | let item4 = &Item::new(Path::new("4")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | let item5 = &Item::new(Path::new("5")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:291:28 [INFO] [stdout] | [INFO] [stdout] 291 | let item6 = &Item::new(Path::new("6")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | let item7 = &Item::new(Path::new("7")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | let item8 = &Item::new(Path::new("8")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | let item9 = &Item::new(Path::new("9")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | let item10 = &Item::new(Path::new("10")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | let item11 = &Item::new(Path::new("11")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | let item12 = &Item::new(Path::new("12")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | let item0 = &Item::new(Path::new("0")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | let item1 = &Item::new(Path::new("1")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | let item2 = &Item::new(Path::new("2")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | let item3 = &Item::new(Path::new("3")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:334:28 [INFO] [stdout] | [INFO] [stdout] 334 | let item4 = &Item::new(Path::new("4")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | let item5 = &Item::new(Path::new("5")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:336:28 [INFO] [stdout] | [INFO] [stdout] 336 | let item6 = &Item::new(Path::new("6")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:337:28 [INFO] [stdout] | [INFO] [stdout] 337 | let item7 = &Item::new(Path::new("7")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:338:28 [INFO] [stdout] | [INFO] [stdout] 338 | let item8 = &Item::new(Path::new("8")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:339:28 [INFO] [stdout] | [INFO] [stdout] 339 | let item9 = &Item::new(Path::new("9")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:340:29 [INFO] [stdout] | [INFO] [stdout] 340 | let item10 = &Item::new(Path::new("10")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:341:29 [INFO] [stdout] | [INFO] [stdout] 341 | let item11 = &Item::new(Path::new("11")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:342:29 [INFO] [stdout] | [INFO] [stdout] 342 | let item12 = &Item::new(Path::new("12")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:377:28 [INFO] [stdout] | [INFO] [stdout] 377 | let item0 = &Item::new(Path::new("0")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:378:28 [INFO] [stdout] | [INFO] [stdout] 378 | let item1 = &Item::new(Path::new("1")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | let item2 = &Item::new(Path::new("2")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:380:28 [INFO] [stdout] | [INFO] [stdout] 380 | let item3 = &Item::new(Path::new("3")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:381:28 [INFO] [stdout] | [INFO] [stdout] 381 | let item4 = &Item::new(Path::new("4")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | let item5 = &Item::new(Path::new("5")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | let item6 = &Item::new(Path::new("6")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:384:28 [INFO] [stdout] | [INFO] [stdout] 384 | let item7 = &Item::new(Path::new("7")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:385:28 [INFO] [stdout] | [INFO] [stdout] 385 | let item8 = &Item::new(Path::new("8")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:386:28 [INFO] [stdout] | [INFO] [stdout] 386 | let item9 = &Item::new(Path::new("9")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | let item10 = &Item::new(Path::new("10")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | let item11 = &Item::new(Path::new("11")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:389:29 [INFO] [stdout] | [INFO] [stdout] 389 | let item12 = &Item::new(Path::new("12")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib/dependency.rs:415:15 [INFO] [stdout] | [INFO] [stdout] 415 | let dot = Path::new("deps.dot"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 263 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro-expanded `macro_export` macros from the current crate cannot be referred to by absolute paths [INFO] [stdout] --> src/lib/diecast.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub use pattern; [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 #52234 [INFO] [stdout] note: the macro is defined here [INFO] [stdout] --> src/lib/macros.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / macro_rules! pattern { [INFO] [stdout] 23 | | ($pat:expr) => { [INFO] [stdout] 24 | | { [INFO] [stdout] 25 | | use diecast::pattern::dsl::*; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[deny(macro_expanded_macro_exports_accessed_by_absolute_paths)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib/pattern.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn matches(&self, &Path) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Path` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diecast::pattern::dsl::*` [INFO] [stdout] --> src/lib/macros.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | use diecast::pattern::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/pattern.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(pattern!(Everything).matches(&intro_to_rust)); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pattern` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/item.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(self.path.display().fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dependency::Graph` [INFO] [stdout] --> src/lib/generator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dependency::Graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/dependency.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(self.edges.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib/dependency.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a, T> dot::GraphWalk<'a, &'a T, Edge<'a, T>> for Graph<'a, T> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 133 | fn edges(&'a self) -> dot::Edges<'a, Edge> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `tuple_indexing` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(tuple_indexing)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `default_type_params` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(default_type_params)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `if_let` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(if_let)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `while_let` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/diecast.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(while_let)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib/diecast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/compile.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | compilers: Vec>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | compilers: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/generator.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | bindings: Vec, [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | bindings: Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/generator.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | Box>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/pattern.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl Pattern for 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | impl Pattern for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib/item.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl Hash for Item [INFO] [stdout] | ^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/compile.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | impl Compile for 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | impl Compile for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 107 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0412, E0432, E0433, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diecast` (lib test) due to 108 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c1be22230a77d649cf64ee6049f093f044fe8aa39c2066e112c365860d2a4495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1be22230a77d649cf64ee6049f093f044fe8aa39c2066e112c365860d2a4495", kill_on_drop: false }` [INFO] [stdout] c1be22230a77d649cf64ee6049f093f044fe8aa39c2066e112c365860d2a4495