[INFO] cloning repository https://github.com/lonnng/lua-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lonnng/lua-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonnng%2Flua-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonnng%2Flua-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc46902ab63e6c37a6040ec054cd7c92a08652be [INFO] testing lonnng/lua-rs against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonnng%2Flua-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lonnng/lua-rs on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lonnng/lua-rs [INFO] finished tweaking git repo https://github.com/lonnng/lua-rs [INFO] tweaked toml for git repo https://github.com/lonnng/lua-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lonnng/lua-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a050ac5d90e2cac7daad2d77644b7fc5a8c62107e60c8f83e8885ff4cf4cd854 [INFO] running `Command { std: "docker" "start" "-a" "a050ac5d90e2cac7daad2d77644b7fc5a8c62107e60c8f83e8885ff4cf4cd854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a050ac5d90e2cac7daad2d77644b7fc5a8c62107e60c8f83e8885ff4cf4cd854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a050ac5d90e2cac7daad2d77644b7fc5a8c62107e60c8f83e8885ff4cf4cd854", kill_on_drop: false }` [INFO] [stdout] a050ac5d90e2cac7daad2d77644b7fc5a8c62107e60c8f83e8885ff4cf4cd854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2556d75f8b491bb5a8851f03c11833d680be2787479e5a3f95d0346aff2a19a3 [INFO] running `Command { std: "docker" "start" "-a" "2556d75f8b491bb5a8851f03c11833d680be2787479e5a3f95d0346aff2a19a3", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling lua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `u8: Buf` is not satisfied [INFO] [stdout] --> src/scanner.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | self.buffer.put(c as u8) [INFO] [stdout] | --- ^^^^^^^ the trait `Buf` is not implemented for `u8` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Buf`: [INFO] [stdout] &[u8] [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] BytesMut [INFO] [stdout] Option<[u8; 1]> [INFO] [stdout] VecDeque [INFO] [stdout] bytes::Bytes [INFO] [stdout] bytes::buf::ext::Chain [INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-0.5.4/src/buf/buf_mut.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | fn put(&mut self, mut src: T) where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `BufMut::put` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/scanner.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 314 | / loop { [INFO] [stdout] 315 | | match self.current { [INFO] [stdout] 316 | | EOF => { [INFO] [stdout] 317 | | if is_comment { [INFO] [stdout] ... | [INFO] [stdout] 351 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 352 | unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::unreachable_2015` which comes from the expansion of the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reg` is never read [INFO] [stdout] --> src/compiler.rs:932:21 [INFO] [stdout] | [INFO] [stdout] 932 | reg += self.compile_expr(reg, expr, expr_ctx); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lua` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2556d75f8b491bb5a8851f03c11833d680be2787479e5a3f95d0346aff2a19a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2556d75f8b491bb5a8851f03c11833d680be2787479e5a3f95d0346aff2a19a3", kill_on_drop: false }` [INFO] [stdout] 2556d75f8b491bb5a8851f03c11833d680be2787479e5a3f95d0346aff2a19a3