[INFO] fetching crate lua-shared 0.1.0...
[INFO] testing lua-shared-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate lua-shared 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate lua-shared 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lua-shared 0.1.0
[INFO] finished tweaking crates.io crate lua-shared 0.1.0
[INFO] tweaked toml for crates.io crate lua-shared 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63e1839c185bce752e651e9b459227bf87e180bbbb54aba66f111e41b1833cdc
[INFO] running `Command { std: "docker" "start" "-a" "63e1839c185bce752e651e9b459227bf87e180bbbb54aba66f111e41b1833cdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63e1839c185bce752e651e9b459227bf87e180bbbb54aba66f111e41b1833cdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63e1839c185bce752e651e9b459227bf87e180bbbb54aba66f111e41b1833cdc", kill_on_drop: false }`
[INFO] [stdout] 63e1839c185bce752e651e9b459227bf87e180bbbb54aba66f111e41b1833cdc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 120a2ab7d0b841e97a9ab450a3376b9573c1f1875fa6cc532d016853140064ac
[INFO] running `Command { std: "docker" "start" "-a" "120a2ab7d0b841e97a9ab450a3376b9573c1f1875fa6cc532d016853140064ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling lua-shared v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "120a2ab7d0b841e97a9ab450a3376b9573c1f1875fa6cc532d016853140064ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "120a2ab7d0b841e97a9ab450a3376b9573c1f1875fa6cc532d016853140064ac", kill_on_drop: false }`
[INFO] [stdout] 120a2ab7d0b841e97a9ab450a3376b9573c1f1875fa6cc532d016853140064ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd4a466f7291d40968c0d94a55486cb737fbd26b15fba4940a6a82f98b1a9080
[INFO] running `Command { std: "docker" "start" "-a" "cd4a466f7291d40968c0d94a55486cb737fbd26b15fba4940a6a82f98b1a9080", kill_on_drop: false }`
[INFO] [stderr]    Compiling lua-shared v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "cd4a466f7291d40968c0d94a55486cb737fbd26b15fba4940a6a82f98b1a9080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd4a466f7291d40968c0d94a55486cb737fbd26b15fba4940a6a82f98b1a9080", kill_on_drop: false }`
[INFO] [stdout] cd4a466f7291d40968c0d94a55486cb737fbd26b15fba4940a6a82f98b1a9080
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c3f37f563423390b47af9271171e0a2f89a3ca780c9a2fd9fd4eb118316e7287
[INFO] running `Command { std: "docker" "start" "-a" "c3f37f563423390b47af9271171e0a2f89a3ca780c9a2fd9fd4eb118316e7287", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lua_shared-4e92ad95de87e92f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lua_shared
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - pushfunction (line 490) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - pushfunction (line 490) stdout ----
[INFO] [stdout] error: cannot find macro `cstr` in this scope
[INFO] [stdout]  --> src/lib.rs:497:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | setfield(state, -2, cstr!("test_immutable_closure"));
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lua_shared::cstr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `cstr` in this scope
[INFO] [stdout]   --> src/lib.rs:503:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | setfield(state, -2, cstr!("test_immutable_function"));
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::cstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `cstr` in this scope
[INFO] [stdout]   --> src/lib.rs:512:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | setfield(state, -2, cstr!("test_mutable_closure"));
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::cstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `cstr` in this scope
[INFO] [stdout]   --> src/lib.rs:513:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | setfield(state, GLOBALSINDEX, cstr!("tests"));
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::cstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `newstate` in this scope
[INFO] [stdout]  --> src/lib.rs:491:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let state = newstate();
[INFO] [stdout]   |             ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lua_shared::newstate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `createtable` in this scope
[INFO] [stdout]  --> src/lib.rs:492:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | createtable(state, 0, 2);
[INFO] [stdout]   | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lua_shared::createtable;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pushfunction` in this scope
[INFO] [stdout]   --> src/lib.rs:493:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | pushfunction(state, |_| {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]    | -------------------------------------------- similarly named function `test_function` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 5  | test_function(state, |_| {
[INFO] [stdout]    | ~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::pushfunction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setfield` in this scope
[INFO] [stdout]  --> src/lib.rs:497:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | setfield(state, -2, cstr!("test_immutable_closure"));
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lua_shared::setfield;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope
[INFO] [stdout]   --> src/lib.rs:498:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::lua_State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pushfunction` in this scope
[INFO] [stdout]   --> src/lib.rs:502:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]    | -------------------------------------------- similarly named function `test_function` defined here
[INFO] [stdout] ...
[INFO] [stdout] 14 | pushfunction(state, test_function);
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 14 | test_function(state, test_function);
[INFO] [stdout]    | ~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::pushfunction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setfield` in this scope
[INFO] [stdout]   --> src/lib.rs:503:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | setfield(state, -2, cstr!("test_immutable_function"));
[INFO] [stdout]    | ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::setfield;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pushinteger` in this scope
[INFO] [stdout]   --> src/lib.rs:508:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pushinteger(state, counter);
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::pushinteger;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setfield` in this scope
[INFO] [stdout]   --> src/lib.rs:512:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | setfield(state, -2, cstr!("test_mutable_closure"));
[INFO] [stdout]    | ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::setfield;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setfield` in this scope
[INFO] [stdout]   --> src/lib.rs:513:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | setfield(state, GLOBALSINDEX, cstr!("tests"));
[INFO] [stdout]    | ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::setfield;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GLOBALSINDEX` in this scope
[INFO] [stdout]   --> src/lib.rs:513:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | setfield(state, GLOBALSINDEX, cstr!("tests"));
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this static
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::GLOBALSINDEX;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for enum `Result`
[INFO] [stdout]   --> src/lib.rs:498:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]    |                                       ^^^^^^ expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic arguments
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result<T, E> {
[INFO] [stdout]    |                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pushfunction_mut` in this scope
[INFO] [stdout]   --> src/lib.rs:506:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pushfunction_mut(state, move |_| {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - pushfunction (line 490)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c3f37f563423390b47af9271171e0a2f89a3ca780c9a2fd9fd4eb118316e7287", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3f37f563423390b47af9271171e0a2f89a3ca780c9a2fd9fd4eb118316e7287", kill_on_drop: false }`
[INFO] [stdout] c3f37f563423390b47af9271171e0a2f89a3ca780c9a2fd9fd4eb118316e7287
[INFO] testing lua-shared-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate lua-shared 0.1.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate lua-shared 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lua-shared 0.1.0
[INFO] finished tweaking crates.io crate lua-shared 0.1.0
[INFO] tweaked toml for crates.io crate lua-shared 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d11298e73791c13c7f600fa1c23f8a6a3067b2e02318a924858827b7b9ace65
[INFO] running `Command { std: "docker" "start" "-a" "3d11298e73791c13c7f600fa1c23f8a6a3067b2e02318a924858827b7b9ace65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d11298e73791c13c7f600fa1c23f8a6a3067b2e02318a924858827b7b9ace65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d11298e73791c13c7f600fa1c23f8a6a3067b2e02318a924858827b7b9ace65", kill_on_drop: false }`
[INFO] [stdout] 3d11298e73791c13c7f600fa1c23f8a6a3067b2e02318a924858827b7b9ace65
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 21cc6ee3235e51017bc3f32f0cd4bf28447802e6a9aa0a26b7c4b52ee2e73944
[INFO] running `Command { std: "docker" "start" "-a" "21cc6ee3235e51017bc3f32f0cd4bf28447802e6a9aa0a26b7c4b52ee2e73944", kill_on_drop: false }`
[INFO] [stderr]    Compiling lua-shared v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "21cc6ee3235e51017bc3f32f0cd4bf28447802e6a9aa0a26b7c4b52ee2e73944", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21cc6ee3235e51017bc3f32f0cd4bf28447802e6a9aa0a26b7c4b52ee2e73944", kill_on_drop: false }`
[INFO] [stdout] 21cc6ee3235e51017bc3f32f0cd4bf28447802e6a9aa0a26b7c4b52ee2e73944
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c58677bd907533b642d5170472fd7a62618ebe01539ac4e1f147520d96e5c583
[INFO] running `Command { std: "docker" "start" "-a" "c58677bd907533b642d5170472fd7a62618ebe01539ac4e1f147520d96e5c583", kill_on_drop: false }`
[INFO] [stderr]    Compiling lua-shared v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "c58677bd907533b642d5170472fd7a62618ebe01539ac4e1f147520d96e5c583", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c58677bd907533b642d5170472fd7a62618ebe01539ac4e1f147520d96e5c583", kill_on_drop: false }`
[INFO] [stdout] c58677bd907533b642d5170472fd7a62618ebe01539ac4e1f147520d96e5c583
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0841944a04e92be41f2566a946fc5e2503e346f9fdc3fb28d13b09e93ece224c
[INFO] running `Command { std: "docker" "start" "-a" "0841944a04e92be41f2566a946fc5e2503e346f9fdc3fb28d13b09e93ece224c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lua_shared-4e92ad95de87e92f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lua_shared
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - pushfunction (line 490) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - pushfunction (line 490) stdout ----
[INFO] [stdout] error: cannot find macro `cstr` in this scope
[INFO] [stdout]  --> src/lib.rs:497:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | setfield(state, -2, cstr!("test_immutable_closure"));
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lua_shared::cstr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `cstr` in this scope
[INFO] [stdout]   --> src/lib.rs:503:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | setfield(state, -2, cstr!("test_immutable_function"));
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::cstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `cstr` in this scope
[INFO] [stdout]   --> src/lib.rs:512:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | setfield(state, -2, cstr!("test_mutable_closure"));
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::cstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `cstr` in this scope
[INFO] [stdout]   --> src/lib.rs:513:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | setfield(state, GLOBALSINDEX, cstr!("tests"));
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::cstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `newstate` in this scope
[INFO] [stdout]  --> src/lib.rs:491:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let state = newstate();
[INFO] [stdout]   |             ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lua_shared::newstate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `createtable` in this scope
[INFO] [stdout]  --> src/lib.rs:492:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | createtable(state, 0, 2);
[INFO] [stdout]   | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lua_shared::createtable;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pushfunction` in this scope
[INFO] [stdout]   --> src/lib.rs:493:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | pushfunction(state, |_| {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]    | -------------------------------------------- similarly named function `test_function` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 5  | test_function(state, |_| {
[INFO] [stdout]    | ~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::pushfunction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setfield` in this scope
[INFO] [stdout]  --> src/lib.rs:497:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | setfield(state, -2, cstr!("test_immutable_closure"));
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lua_shared::setfield;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope
[INFO] [stdout]   --> src/lib.rs:498:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::lua_State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pushfunction` in this scope
[INFO] [stdout]   --> src/lib.rs:502:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]    | -------------------------------------------- similarly named function `test_function` defined here
[INFO] [stdout] ...
[INFO] [stdout] 14 | pushfunction(state, test_function);
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 14 | test_function(state, test_function);
[INFO] [stdout]    | ~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::pushfunction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setfield` in this scope
[INFO] [stdout]   --> src/lib.rs:503:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | setfield(state, -2, cstr!("test_immutable_function"));
[INFO] [stdout]    | ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::setfield;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pushinteger` in this scope
[INFO] [stdout]   --> src/lib.rs:508:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pushinteger(state, counter);
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::pushinteger;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setfield` in this scope
[INFO] [stdout]   --> src/lib.rs:512:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | setfield(state, -2, cstr!("test_mutable_closure"));
[INFO] [stdout]    | ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::setfield;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setfield` in this scope
[INFO] [stdout]   --> src/lib.rs:513:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | setfield(state, GLOBALSINDEX, cstr!("tests"));
[INFO] [stdout]    | ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::setfield;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GLOBALSINDEX` in this scope
[INFO] [stdout]   --> src/lib.rs:513:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | setfield(state, GLOBALSINDEX, cstr!("tests"));
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this static
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lua_shared::GLOBALSINDEX;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for enum `Result`
[INFO] [stdout]   --> src/lib.rs:498:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]    |                                       ^^^^^^ expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic arguments
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_function(state: lua_State) -> Result<T, E> {
[INFO] [stdout]    |                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pushfunction_mut` in this scope
[INFO] [stdout]   --> src/lib.rs:506:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pushfunction_mut(state, move |_| {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - pushfunction (line 490)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0841944a04e92be41f2566a946fc5e2503e346f9fdc3fb28d13b09e93ece224c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0841944a04e92be41f2566a946fc5e2503e346f9fdc3fb28d13b09e93ece224c", kill_on_drop: false }`
[INFO] [stdout] 0841944a04e92be41f2566a946fc5e2503e346f9fdc3fb28d13b09e93ece224c
