[INFO] fetching crate diecast 0.0.1... [INFO] testing diecast-0.0.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate diecast 0.0.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate diecast 0.0.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] * /workspace/builds/worker-12/source/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 `/workspace/builds/worker-12/source/src/bin/main.rs` was erroneously implicitly accepted for binary `diecast`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c82e212dde1857a3839c0a1daadd27d9ebc5968a4c4c920d0f2f257b266b6d9 [INFO] running `Command { std: "docker" "start" "-a" "0c82e212dde1857a3839c0a1daadd27d9ebc5968a4c4c920d0f2f257b266b6d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c82e212dde1857a3839c0a1daadd27d9ebc5968a4c4c920d0f2f257b266b6d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c82e212dde1857a3839c0a1daadd27d9ebc5968a4c4c920d0f2f257b266b6d9", kill_on_drop: false }` [INFO] [stdout] 0c82e212dde1857a3839c0a1daadd27d9ebc5968a4c4c920d0f2f257b266b6d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d70d648e19b646658ba65795aa442aa67a35bf44e64b3c2dc82ace8b4748ac7d [INFO] running `Command { std: "docker" "start" "-a" "d70d648e19b646658ba65795aa442aa67a35bf44e64b3c2dc82ace8b4748ac7d", 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] * /opt/rustwide/workdir/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 `/opt/rustwide/workdir/src/bin/main.rs` was erroneously implicitly accepted for binary `diecast`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling 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: 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[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] [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] [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::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] [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 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 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] [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[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] [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] [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] [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] [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[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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib/diecast.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(tuple_indexing)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `tuple_indexing` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib/diecast.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib/diecast.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(phase)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib/diecast.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(default_type_params)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `default_type_params` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib/diecast.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(if_let)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `if_let` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib/diecast.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(while_let)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `while_let` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/lib/compile.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | self.compilers.push(box compiler); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/lib/generator.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | pattern: box pattern as Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/lib/generator.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | compiler: box compiler as Box [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `#[warn(macro_expanded_macro_exports_accessed_by_absolute_paths)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #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] [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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: 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] [stderr] error: could not compile `diecast` due to 49 previous errors; 15 warnings emitted [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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib/diecast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(phase)] [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - compilers: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - bindings: Vec, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - Box>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - impl Pattern for Box { [INFO] [stdout] 30 + impl Pattern for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0463, E0554, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d70d648e19b646658ba65795aa442aa67a35bf44e64b3c2dc82ace8b4748ac7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d70d648e19b646658ba65795aa442aa67a35bf44e64b3c2dc82ace8b4748ac7d", kill_on_drop: false }` [INFO] [stdout] d70d648e19b646658ba65795aa442aa67a35bf44e64b3c2dc82ace8b4748ac7d