[INFO] crate nailgun 0.1.0 is already in cache [INFO] testing nailgun-0.1.0 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate nailgun 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate nailgun 0.1.0 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8935efc9732b854a745de7f26eb3364cacc08679783585062892f76cb330694f [INFO] running `Command { std: "docker" "start" "-a" "8935efc9732b854a745de7f26eb3364cacc08679783585062892f76cb330694f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8935efc9732b854a745de7f26eb3364cacc08679783585062892f76cb330694f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8935efc9732b854a745de7f26eb3364cacc08679783585062892f76cb330694f", kill_on_drop: false }` [INFO] [stdout] 8935efc9732b854a745de7f26eb3364cacc08679783585062892f76cb330694f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cc6a93eca9182a064be75125053f9fc098d0ce8755b6cf3a37eb9958f77f4a72 [INFO] running `Command { std: "docker" "start" "-a" "cc6a93eca9182a064be75125053f9fc098d0ce8755b6cf3a37eb9958f77f4a72", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling nailgun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 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: 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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expression + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> inlined_parser.rs:400:5 [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:403:19 [INFO] [stdout] | [INFO] [stdout] 403 | expr: &'a ( Expression + 'a ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expression + 'a` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expression + 'a` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expression + 'a` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expression + 'a` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expression + 'a` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expression + 'a` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expression + 'a` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> generator/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `std::vec::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 `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for struct `std::string::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 `std::string::String` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c1` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c2` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c3` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c4` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c1` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c1` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c2` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c1` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c1` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c2` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c3` [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] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c1` [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] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c` [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] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `&u8` [INFO] [stdout] | help: consider dereferencing the borrow: `*c` [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] 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 24 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nailgun`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cc6a93eca9182a064be75125053f9fc098d0ce8755b6cf3a37eb9958f77f4a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6a93eca9182a064be75125053f9fc098d0ce8755b6cf3a37eb9958f77f4a72", kill_on_drop: false }` [INFO] [stdout] cc6a93eca9182a064be75125053f9fc098d0ce8755b6cf3a37eb9958f77f4a72