[INFO] crate nailgun 0.1.0 is already in cache [INFO] checking nailgun-0.1.0 against nightly-2019-10-27 for pr-65897 [INFO] extracting crate nailgun 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate nailgun 0.1.0 on toolchain nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=allow" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 417678ac574ad7e67ee427f90d37b14353c24fd0c5622452e3dc76de4d4616be [INFO] running `"docker" "start" "-a" "417678ac574ad7e67ee427f90d37b14353c24fd0c5622452e3dc76de4d4616be"` [INFO] [stderr] Checking nailgun v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> nailgun.rs:155:34 [INFO] [stderr] | [INFO] [stderr] 155 | let matches = opts.parse( args.tail() ).unwrap(); [INFO] [stderr] | ^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | "DOT" => String::from_str( "&base::Dot" ), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | "ARROW" => String::from_str( " <- " ), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | "SLASH" => String::from_str( ", " ), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:113:30 [INFO] [stderr] | [INFO] [stderr] 113 | let mut output = String::from_str( "seq!( " ); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:191:28 [INFO] [stderr] | [INFO] [stderr] 191 | &unescapeString( &full.slice_chars( 1, full.len() - 1 ) ) ); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c1` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:32:36 [INFO] [stderr] | [INFO] [stderr] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c2` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:32:51 [INFO] [stderr] | [INFO] [stderr] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c3` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:32:66 [INFO] [stderr] | [INFO] [stderr] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c4` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:33:62 [INFO] [stderr] | [INFO] [stderr] 33 | final_bytes = addFourBytesAsCodepoint( final_bytes, [c1, c2, c3, c4] ); [INFO] [stderr] | ^^ expected u8, found &u8 [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | if isHex( c1 ) && isHex( c2 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c1` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | if isHex( c1 ) && isHex( c2 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c2` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:38:55 [INFO] [stderr] | [INFO] [stderr] 38 | final_bytes = addTwoBytesAsHex( final_bytes, [c1, c2] ); [INFO] [stderr] | ^^ expected u8, found &u8 [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:42:23 [INFO] [stderr] | [INFO] [stderr] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c1` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:42:40 [INFO] [stderr] | [INFO] [stderr] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c2` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:42:57 [INFO] [stderr] | [INFO] [stderr] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c3` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:43:59 [INFO] [stderr] | [INFO] [stderr] 43 | final_bytes = addThreeBytesAsOctal( final_bytes, [c1, c2, c3] ); [INFO] [stderr] | ^^ expected u8, found &u8 [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:47:52 [INFO] [stderr] | [INFO] [stderr] 47 | final_bytes = addEscapedByte( final_bytes, c ); [INFO] [stderr] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:51:27 [INFO] [stderr] | [INFO] [stderr] 51 | final_bytes.push( c ); [INFO] [stderr] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `&mut str` in the current scope [INFO] [stderr] --> generator/unescape.rs:83:67 [INFO] [stderr] | [INFO] [stderr] 83 | let num_written = character.encode_utf8( &mut utf8chars ).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `&mut str` [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | "DOT" => String::from_str( "&base::Dot" ), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | "ARROW" => String::from_str( " <- " ), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error: could not compile `nailgun`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | "SLASH" => String::from_str( ", " ), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:113:30 [INFO] [stderr] | [INFO] [stderr] 113 | let mut output = String::from_str( "seq!( " ); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for type `std::string::String` in the current scope [INFO] [stderr] --> generator/mod.rs:191:28 [INFO] [stderr] | [INFO] [stderr] 191 | &unescapeString( &full.slice_chars( 1, full.len() - 1 ) ) ); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c1` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:32:36 [INFO] [stderr] | [INFO] [stderr] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c2` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:32:51 [INFO] [stderr] | [INFO] [stderr] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c3` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:32:66 [INFO] [stderr] | [INFO] [stderr] 32 | if isHex( c1 ) && isHex( c2 ) && isHex( c3 ) && isHex( c4 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c4` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:33:62 [INFO] [stderr] | [INFO] [stderr] 33 | final_bytes = addFourBytesAsCodepoint( final_bytes, [c1, c2, c3, c4] ); [INFO] [stderr] | ^^ expected u8, found &u8 [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | if isHex( c1 ) && isHex( c2 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c1` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | if isHex( c1 ) && isHex( c2 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c2` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:38:55 [INFO] [stderr] | [INFO] [stderr] 38 | final_bytes = addTwoBytesAsHex( final_bytes, [c1, c2] ); [INFO] [stderr] | ^^ expected u8, found &u8 [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:42:23 [INFO] [stderr] | [INFO] [stderr] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c1` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:42:40 [INFO] [stderr] | [INFO] [stderr] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c2` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:42:57 [INFO] [stderr] | [INFO] [stderr] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c3` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:43:59 [INFO] [stderr] | [INFO] [stderr] 43 | final_bytes = addThreeBytesAsOctal( final_bytes, [c1, c2, c3] ); [INFO] [stderr] | ^^ expected u8, found &u8 [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:47:52 [INFO] [stderr] | [INFO] [stderr] 47 | final_bytes = addEscapedByte( final_bytes, c ); [INFO] [stderr] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> generator/unescape.rs:51:27 [INFO] [stderr] | [INFO] [stderr] 51 | final_bytes.push( c ); [INFO] [stderr] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected u8, found &u8 [INFO] [stderr] | help: consider dereferencing the borrow: `*c` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u8` [INFO] [stderr] found type `&u8` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `&mut str` in the current scope [INFO] [stderr] --> generator/unescape.rs:83:67 [INFO] [stderr] | [INFO] [stderr] 83 | let num_written = character.encode_utf8( &mut utf8chars ).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `&mut str` [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `nailgun`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "417678ac574ad7e67ee427f90d37b14353c24fd0c5622452e3dc76de4d4616be"` [INFO] running `"docker" "rm" "-f" "417678ac574ad7e67ee427f90d37b14353c24fd0c5622452e3dc76de4d4616be"` [INFO] [stdout] 417678ac574ad7e67ee427f90d37b14353c24fd0c5622452e3dc76de4d4616be