[INFO] fetching crate nailgun 0.1.0... [INFO] testing nailgun-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate nailgun 0.1.0 into /workspace/builds/worker-75/source [INFO] validating manifest of crates.io crate nailgun 0.1.0 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 nailgun 0.1.0 [INFO] finished tweaking crates.io crate nailgun 0.1.0 [INFO] tweaked toml for crates.io crate nailgun 0.1.0 written to /workspace/builds/worker-75/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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] 0a81deb04365b08d297d557304b2c4522a2dd46d4245b652e42e532d06ef0b28 [INFO] running `Command { std: "docker" "start" "-a" "0a81deb04365b08d297d557304b2c4522a2dd46d4245b652e42e532d06ef0b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a81deb04365b08d297d557304b2c4522a2dd46d4245b652e42e532d06ef0b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a81deb04365b08d297d557304b2c4522a2dd46d4245b652e42e532d06ef0b28", kill_on_drop: false }` [INFO] [stdout] 0a81deb04365b08d297d557304b2c4522a2dd46d4245b652e42e532d06ef0b28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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] a616f95ff0e8eaeafeb0008b2773acd59e45407d4ba63dd0d7bd50476f2e8ee1 [INFO] running `Command { std: "docker" "start" "-a" "a616f95ff0e8eaeafeb0008b2773acd59e45407d4ba63dd0d7bd50476f2e8ee1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling nailgun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> inlined_parser.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | use std::fmt::{Result}; [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] --> inlined_parser.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | try!( write!( formatter, " " ) ) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> inlined_parser.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> inlined_parser.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!( indent( formatter, indent_spaces ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> inlined_parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!( write!( formatter, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> inlined_parser.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!( writeln!( formatter, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> inlined_parser.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | try!( writeln!( formatter, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> inlined_parser.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!( writeln!( formatter, "" ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> inlined_parser.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | try!( child.format( formatter, indent_spaces + 1) ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `and` [INFO] [stdout] --> inlined_parser.rs:400:18 [INFO] [stdout] | [INFO] [stdout] 400 | macro_rules! and( ( $ex:expr ) => ( &base::And::new( $ex ) ); ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:374:19 [INFO] [stdout] | [INFO] [stdout] 374 | expr: &'a ( Expression + 'a ) [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] 374 - expr: &'a ( Expression + 'a ) [INFO] [stdout] 374 + expr: &'a ( dyn Expression + 'a ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:403:19 [INFO] [stdout] | [INFO] [stdout] 403 | expr: &'a ( Expression + 'a ) [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] 403 - expr: &'a ( Expression + 'a ) [INFO] [stdout] 403 + expr: &'a ( dyn Expression + 'a ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:454:19 [INFO] [stdout] | [INFO] [stdout] 454 | expr: &'a ( Expression + 'a ) [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] 454 - expr: &'a ( Expression + 'a ) [INFO] [stdout] 454 + expr: &'a ( dyn Expression + 'a ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:480:19 [INFO] [stdout] | [INFO] [stdout] 480 | expr: &'a ( Expression + 'a ) [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] 480 - expr: &'a ( Expression + 'a ) [INFO] [stdout] 480 + expr: &'a ( dyn Expression + 'a ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:515:19 [INFO] [stdout] | [INFO] [stdout] 515 | expr: &'a ( Expression + 'a ) [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] 515 - expr: &'a ( Expression + 'a ) [INFO] [stdout] 515 + expr: &'a ( dyn Expression + 'a ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:558:24 [INFO] [stdout] | [INFO] [stdout] 558 | exprs: &'a [&'a (Expression + 'a)] [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] 558 - exprs: &'a [&'a (Expression + 'a)] [INFO] [stdout] 558 + exprs: &'a [&'a (dyn Expression + 'a)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:589:19 [INFO] [stdout] | [INFO] [stdout] 589 | expr: &'a ( Expression + 'a ) [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] 589 - expr: &'a ( Expression + 'a ) [INFO] [stdout] 589 + expr: &'a ( dyn Expression + 'a ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:616:24 [INFO] [stdout] | [INFO] [stdout] 616 | exprs: &'a [&'a (Expression + 'a)] [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] 616 - exprs: &'a [&'a (Expression + 'a)] [INFO] [stdout] 616 + exprs: &'a [&'a (dyn Expression + 'a)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:379:26 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn new( expr: &Expression ) -> NotEx { [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] 379 - pub fn new( expr: &Expression ) -> NotEx { [INFO] [stdout] 379 + pub fn new( expr: &dyn Expression ) -> NotEx { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn new( expr: &Expression ) -> And { [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] 408 - pub fn new( expr: &Expression ) -> And { [INFO] [stdout] 408 + pub fn new( expr: &dyn Expression ) -> And { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:459:26 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn new( expr: &Expression ) -> OptionEx { [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] 459 - pub fn new( expr: &Expression ) -> OptionEx { [INFO] [stdout] 459 + pub fn new( expr: &dyn Expression ) -> OptionEx { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:485:26 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn new( expr: &Expression ) -> Star { [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] 485 - pub fn new( expr: &Expression ) -> Star { [INFO] [stdout] 485 + pub fn new( expr: &dyn Expression ) -> Star { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:520:26 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn new( expr: &Expression ) -> Plus { [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] 520 - pub fn new( expr: &Expression ) -> Plus { [INFO] [stdout] 520 + pub fn new( expr: &dyn Expression ) -> Plus { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:563:36 [INFO] [stdout] | [INFO] [stdout] 563 | pub fn new<'a>( exprs: &'a [&Expression] ) -> Or<'a> { [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] 563 - pub fn new<'a>( exprs: &'a [&Expression] ) -> Or<'a> { [INFO] [stdout] 563 + pub fn new<'a>( exprs: &'a [&dyn Expression] ) -> Or<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:594:27 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn new( expr: & Expression ) -> Fuse { [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] 594 - pub fn new( expr: & Expression ) -> Fuse { [INFO] [stdout] 594 + pub fn new( expr: & dyn Expression ) -> Fuse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inlined_parser.rs:621:36 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn new<'a>( exprs: &'a [&Expression] ) -> Sequence<'a> { [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] 621 - pub fn new<'a>( exprs: &'a [&Expression] ) -> Sequence<'a> { [INFO] [stdout] 621 + pub fn new<'a>( exprs: &'a [&dyn Expression] ) -> Sequence<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> nailgun.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> nailgun.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> nailgun.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> nailgun.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | try!( File::create( &code_file ).and_then( |mut file| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> nailgun.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | #![deny(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> nailgun.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let status = try!( Command::new( "rustc" ).arg( "-o" ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> nailgun.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | let output = try!( Command::new( printer.to_str().unwrap() ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> generator/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> nailgun.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> nailgun.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> nailgun.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> nailgun.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> nailgun.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 32 | if isHex( *c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 32 | if isHex( c1 ) && isHex( *c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( *c3 ) && isHex( c4 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:32:66 [INFO] [stdout] | [INFO] [stdout] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( *c4 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | final_bytes = addFourBytesAsCodepoint( final_bytes, [c1, c2, c3, c4] ); [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 33 | final_bytes = addFourBytesAsCodepoint( final_bytes, [*c1, c2, c3, c4] ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | if isHex( c1 ) && isHex( c2 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 37 | if isHex( *c1 ) && isHex( c2 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | if isHex( c1 ) && isHex( c2 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 37 | if isHex( c1 ) && isHex( *c2 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | final_bytes = addTwoBytesAsHex( final_bytes, [c1, c2] ); [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 38 | final_bytes = addTwoBytesAsHex( final_bytes, [*c1, c2] ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 42 | if isOctal( *c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 42 | if isOctal( c1 ) && isOctal( *c2 ) && isOctal( c3 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( *c3 ) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | final_bytes = addThreeBytesAsOctal( final_bytes, [c1, c2, c3] ); [INFO] [stdout] | ^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 43 | final_bytes = addThreeBytesAsOctal( final_bytes, [*c1, c2, c3] ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | final_bytes = addEscapedByte( final_bytes, c ); [INFO] [stdout] | ^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 47 | final_bytes = addEscapedByte( final_bytes, *c ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | final_bytes.push( c ); [INFO] [stdout] | ^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 51 | final_bytes.push( *c ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for mutable reference `&mut str` in the current scope [INFO] [stdout] --> generator/unescape.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | let num_written = character.encode_utf8( &mut utf8chars ).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `&mut str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> generator/mod.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | "DOT" => String::from_str( "&base::Dot" ), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 14 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> generator/mod.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | "ARROW" => String::from_str( " <- " ), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 14 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> generator/mod.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | "SLASH" => String::from_str( ", " ), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 14 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> generator/mod.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let mut output = String::from_str( "seq!( " ); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 14 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for struct `String` in the current scope [INFO] [stdout] --> generator/mod.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | &unescapeString( &full.slice_chars( 1, full.len() - 1 ) ) ); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec` in the current scope [INFO] [stdout] --> nailgun.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | let matches = opts.parse( args.tail() ).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> generator/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nailgun` due to 29 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a616f95ff0e8eaeafeb0008b2773acd59e45407d4ba63dd0d7bd50476f2e8ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a616f95ff0e8eaeafeb0008b2773acd59e45407d4ba63dd0d7bd50476f2e8ee1", kill_on_drop: false }` [INFO] [stdout] a616f95ff0e8eaeafeb0008b2773acd59e45407d4ba63dd0d7bd50476f2e8ee1