[INFO] fetching crate nailgun 0.1.0... [INFO] checking nailgun-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate nailgun 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate nailgun 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a72786db4533bf0bc0a12ae3ca90ca598d14e3bc4ab053ef4f17c030998f061 [INFO] running `Command { std: "docker" "start" "-a" "0a72786db4533bf0bc0a12ae3ca90ca598d14e3bc4ab053ef4f17c030998f061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a72786db4533bf0bc0a12ae3ca90ca598d14e3bc4ab053ef4f17c030998f061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a72786db4533bf0bc0a12ae3ca90ca598d14e3bc4ab053ef4f17c030998f061", kill_on_drop: false }` [INFO] [stdout] 0a72786db4533bf0bc0a12ae3ca90ca598d14e3bc4ab053ef4f17c030998f061 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 997fa3efa8bc77c2649b896f542372f4aeb255afa4102c1f2a3741ed872cd456 [INFO] running `Command { std: "docker" "start" "-a" "997fa3efa8bc77c2649b896f542372f4aeb255afa4102c1f2a3741ed872cd456", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking nailgun v0.1.0 (/opt/rustwide/workdir) [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[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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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: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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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: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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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:21 [INFO] [stdout] | [INFO] [stdout] 37 | if isHex( c1 ) && isHex( c2 ) => { [INFO] [stdout] | ----- ^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn isHex( byte: u8 ) -> bool { [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: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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn isOctal( byte: u8 ) -> bool { [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:23 [INFO] [stdout] | [INFO] [stdout] 42 | if isOctal( c1 ) && isOctal( c2 ) && isOctal( c3 ) => { [INFO] [stdout] | ------- ^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn isOctal( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn isOctal( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn isOctal( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn isOctal( byte: u8 ) -> bool { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn isOctal( byte: u8 ) -> bool { [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: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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn addEscapedByte( mut input: Vec, byte: u8 ) -> Vec { [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:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | final_bytes = addEscapedByte( final_bytes, c ); [INFO] [stdout] | -------------- ^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> generator/unescape.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn addEscapedByte( mut input: Vec, byte: u8 ) -> Vec { [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] 33 | final_bytes = addFourBytesAsCodepoint( final_bytes, [c1, c2, c3, c4] ); [INFO] [stdout] | ----------- here the type of `final_bytes` is inferred to be `Vec` [INFO] [stdout] ... [INFO] [stdout] 51 | final_bytes.push( c ); [INFO] [stdout] | ---- ^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/vec/mod.rs:2411:12 [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[E0308]: mismatched types [INFO] [stdout] --> generator/unescape.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 33 | final_bytes = addFourBytesAsCodepoint( final_bytes, [c1, c2, c3, c4] ); [INFO] [stdout] | ----------- here the type of `final_bytes` is inferred to be `Vec` [INFO] [stdout] ... [INFO] [stdout] 51 | final_bytes.push( c ); [INFO] [stdout] | ---- ^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/vec/mod.rs:2411:12 [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 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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | "DOT" => String::from( "&base::Dot" ), [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | "ARROW" => String::from( " <- " ), [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 42 | "SLASH" => String::from( ", " ), [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: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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | "DOT" => String::from( "&base::Dot" ), [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | "ARROW" => String::from( " <- " ), [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 113 | let mut output = String::from( "seq!( " ); [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 42 | "SLASH" => String::from( ", " ), [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 113 | let mut output = String::from( "seq!( " ); [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 `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] Some errors have detailed explanations: E0308, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, 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` (bin "nailgun") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nailgun` (bin "nailgun" test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "997fa3efa8bc77c2649b896f542372f4aeb255afa4102c1f2a3741ed872cd456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997fa3efa8bc77c2649b896f542372f4aeb255afa4102c1f2a3741ed872cd456", kill_on_drop: false }` [INFO] [stdout] 997fa3efa8bc77c2649b896f542372f4aeb255afa4102c1f2a3741ed872cd456