[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] building lonnng/lua-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonnng%2Flua-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lonnng/lua-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adcd23dcce8160419ba29d14f0ca0d5fefc82d3c023598ea38d953f25d3a7594 [INFO] running `Command { std: "docker" "start" "-a" "adcd23dcce8160419ba29d14f0ca0d5fefc82d3c023598ea38d953f25d3a7594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adcd23dcce8160419ba29d14f0ca0d5fefc82d3c023598ea38d953f25d3a7594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adcd23dcce8160419ba29d14f0ca0d5fefc82d3c023598ea38d953f25d3a7594", kill_on_drop: false }` [INFO] [stdout] adcd23dcce8160419ba29d14f0ca0d5fefc82d3c023598ea38d953f25d3a7594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 734fa4142fca3871140f787c13597084c5bbb15e0b1bc27e283896c5b9758f76 [INFO] running `Command { std: "docker" "start" "-a" "734fa4142fca3871140f787c13597084c5bbb15e0b1bc27e283896c5b9758f76", 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] [stdout] warning: value assigned to `reg` is never read [INFO] [stdout] --> src/compiler.rs:936:21 [INFO] [stdout] | [INFO] [stdout] 936 | reg += self.compile_expr(reg, expr, &ExprContext::with_opt(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reg` is never read [INFO] [stdout] --> src/compiler.rs:1019:17 [INFO] [stdout] | [INFO] [stdout] 1019 | reg += self.compile_expr(reg, rhs, &ExprContext::with_opt(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1319:17 [INFO] [stdout] | [INFO] [stdout] 1319 | let mut ac = &mut acs[namesassigned]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reg` is never read [INFO] [stdout] --> src/compiler.rs:1675:21 [INFO] [stdout] | [INFO] [stdout] 1675 | reg += self.compile_expr(reg, &exprs[0], &ExprContext::with_opt(-2)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lua` (lib) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "734fa4142fca3871140f787c13597084c5bbb15e0b1bc27e283896c5b9758f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734fa4142fca3871140f787c13597084c5bbb15e0b1bc27e283896c5b9758f76", kill_on_drop: false }` [INFO] [stdout] 734fa4142fca3871140f787c13597084c5bbb15e0b1bc27e283896c5b9758f76