[INFO] updating cached repository https://github.com/yjhmelody/lua-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2a0cb41ad5d46bbf47b0b89d914bfdde613fe97 [INFO] documenting yjhmelody/lua-rs against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjhmelody%2Flua-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yjhmelody/lua-rs on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yjhmelody/lua-rs [INFO] finished tweaking git repo https://github.com/yjhmelody/lua-rs [INFO] tweaked toml for git repo https://github.com/yjhmelody/lua-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/yjhmelody/lua-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "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] 176147cacc6550e6fb9d0973224b0f3055aeadbb740145f2c6f9c75ab3816db7 [INFO] running `Command { std: "docker" "start" "-a" "176147cacc6550e6fb9d0973224b0f3055aeadbb740145f2c6f9c75ab3816db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "176147cacc6550e6fb9d0973224b0f3055aeadbb740145f2c6f9c75ab3816db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176147cacc6550e6fb9d0973224b0f3055aeadbb740145f2c6f9c75ab3816db7", kill_on_drop: false }` [INFO] [stdout] 176147cacc6550e6fb9d0973224b0f3055aeadbb740145f2c6f9c75ab3816db7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] 2b75b7333dcdfdb7443d7f1c2f6136b4c14c43b0af38024c3321204e8d635efa [INFO] running `Command { std: "docker" "start" "-a" "2b75b7333dcdfdb7443d7f1c2f6136b4c14c43b0af38024c3321204e8d635efa", kill_on_drop: false }` [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `lua_rs` in package `lua-rs v0.2.0 (/opt/rustwide/workdir)` has the same output filename as the lib target `lua-rs` in package `lua-rs v0.2.0 (/opt/rustwide/workdir)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/doc/lua_rs/index.html [INFO] [stderr] The output filenames should be unique. [INFO] [stderr] This is a known bug where multiple crates with the same name use [INFO] [stderr] the same path; see . [INFO] [stderr] If this looks unexpected, it may be a bug in Cargo. Please file a bug report at [INFO] [stderr] https://github.com/rust-lang/cargo/issues/ with as much information as you [INFO] [stderr] can provide. [INFO] [stderr] cargo 1.46.0-nightly (c26576f9a 2020-06-23) running on `x86_64-unknown-linux-gnu` target `x86_64-unknown-linux-gnu` [INFO] [stderr] First unit: Unit { pkg: Package { id: PackageId { name: "lua-rs", version: "0.2.0", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { name: "lua_rs", doc: true, ..: with_path("/opt/rustwide/workdir/src/bin/lua_rs.rs", Edition2018) }, profile: Profile { name: "doc", debuginfo: Some(2), debug_assertions: true, overflow_checks: true, ..: default() }, kind: Host, mode: Doc { deps: false }, features: [] } [INFO] [stderr] Second unit: Unit { pkg: Package { id: PackageId { name: "lua-rs", version: "0.2.0", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { ..: lib_target("lua-rs", ["lib"], "/opt/rustwide/workdir/src/lib.rs", Edition2018) }, profile: Profile { name: "doc", debuginfo: Some(2), debug_assertions: true, overflow_checks: true, ..: default() }, kind: Host, mode: Doc { deps: false }, features: [] } [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking lua-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting lua-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:881:43 [INFO] [stdout] | [INFO] [stdout] 881 | self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:909:43 [INFO] [stdout] | [INFO] [stdout] 909 | self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/compiler/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/compiler/codegen.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:881:43 [INFO] [stdout] | [INFO] [stdout] 881 | self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:909:43 [INFO] [stdout] | [INFO] [stdout] 909 | self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler/codegen.rs:1498:9 [INFO] [stdout] | [INFO] [stdout] 1498 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::binary::encode` [INFO] [stdout] --> src/compiler/codegen.rs:1500:9 [INFO] [stdout] | [INFO] [stdout] 1500 | use crate::binary::encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::lexer::*` [INFO] [stdout] --> src/compiler/codegen.rs:1501:9 [INFO] [stdout] | [INFO] [stdout] 1501 | use crate::compiler::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parser::*` [INFO] [stdout] --> src/compiler/codegen.rs:1502:9 [INFO] [stdout] | [INFO] [stdout] 1502 | use crate::compiler::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/compiler/codegen.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_encode` [INFO] [stdout] --> src/binary/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_encode() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[n]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/compiler/codegen.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | //! Upvalue[n]: Name of upvalue with index n [INFO] [stdout] | ^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(intra_doc_link_resolution_failure)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[sym]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/compiler/codegen.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | //! Gbl[sym]: Global variable indexed by symbol sym [INFO] [stdout] | ^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/binary/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | fs::write("./tests/test.out", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[B]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/vm/opcode.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | /// R(A) := UpValue[B] [INFO] [stdout] | ^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[B]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/vm/opcode.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | /// UpValue[B] := R(A) [INFO] [stdout] | ^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[Bx]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/vm/opcode.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | /// R(A) := closure(KPROTO[Bx]) [INFO] [stdout] | ^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.86s [INFO] running `Command { std: "docker" "inspect" "2b75b7333dcdfdb7443d7f1c2f6136b4c14c43b0af38024c3321204e8d635efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b75b7333dcdfdb7443d7f1c2f6136b4c14c43b0af38024c3321204e8d635efa", kill_on_drop: false }` [INFO] [stdout] 2b75b7333dcdfdb7443d7f1c2f6136b4c14c43b0af38024c3321204e8d635efa