[INFO] fetching crate lua-shared 0.1.0...
[INFO] testing lua-shared-0.1.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate lua-shared 0.1.0 into /workspace/builds/worker-4-tc1/source
[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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lua-shared 0.1.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] faf7754831b2a575ce7328e3f6170f1ed9a4f9dbbc8b169261fb3fff864964ca
[INFO] running `Command { std: "docker" "start" "-a" "faf7754831b2a575ce7328e3f6170f1ed9a4f9dbbc8b169261fb3fff864964ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "faf7754831b2a575ce7328e3f6170f1ed9a4f9dbbc8b169261fb3fff864964ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faf7754831b2a575ce7328e3f6170f1ed9a4f9dbbc8b169261fb3fff864964ca", kill_on_drop: false }`
[INFO] [stdout] faf7754831b2a575ce7328e3f6170f1ed9a4f9dbbc8b169261fb3fff864964ca
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47a880d23b36a76d3d97f1484b0fcefaa1544e1f4b62716893da8a143f546e7d
[INFO] running `Command { std: "docker" "start" "-a" "47a880d23b36a76d3d97f1484b0fcefaa1544e1f4b62716893da8a143f546e7d", 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.39s
[INFO] running `Command { std: "docker" "inspect" "47a880d23b36a76d3d97f1484b0fcefaa1544e1f4b62716893da8a143f546e7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47a880d23b36a76d3d97f1484b0fcefaa1544e1f4b62716893da8a143f546e7d", kill_on_drop: false }`
[INFO] [stdout] 47a880d23b36a76d3d97f1484b0fcefaa1544e1f4b62716893da8a143f546e7d
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5cbc27576e0b6e848eeb4ce0968294dbb87ca6b15bec1a7e6b39b5e126c03b0c
[INFO] running `Command { std: "docker" "start" "-a" "5cbc27576e0b6e848eeb4ce0968294dbb87ca6b15bec1a7e6b39b5e126c03b0c", 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.30s
[INFO] running `Command { std: "docker" "inspect" "5cbc27576e0b6e848eeb4ce0968294dbb87ca6b15bec1a7e6b39b5e126c03b0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cbc27576e0b6e848eeb4ce0968294dbb87ca6b15bec1a7e6b39b5e126c03b0c", kill_on_drop: false }`
[INFO] [stdout] 5cbc27576e0b6e848eeb4ce0968294dbb87ca6b15bec1a7e6b39b5e126c03b0c
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bb32d311e9857797e84c7797756c3e2ee984cf6b149a67b664266540e02af8d0
[INFO] running `Command { std: "docker" "start" "-a" "bb32d311e9857797e84c7797756c3e2ee984cf6b149a67b664266540e02af8d0", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lua_shared-774a3a5e0d3ff8b8)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lua_shared
[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] [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] 497 | setfield(state, -2, cstr!("test_immutable_closure"));
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 503 | setfield(state, -2, cstr!("test_immutable_function"));
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 512 | setfield(state, -2, cstr!("test_mutable_closure"));
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 513 | setfield(state, GLOBALSINDEX, cstr!("tests"));
[INFO] [stdout]     |                               ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 491 | let state = newstate();
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 492 | createtable(state, 0, 2);
[INFO] [stdout]     | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 493 | pushfunction(state, |_| {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 498 | 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] 493 - pushfunction(state, |_| {
[INFO] [stdout] 493 + test_function(state, |_| {
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 497 | 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] 490 + use lua_shared::setfield;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `lua_State` in this scope
[INFO] [stdout]    --> src/lib.rs:498:25
[INFO] [stdout]     |
[INFO] [stdout] 498 | 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] 490 + 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] 498 | fn test_function(state: lua_State) -> Result {
[INFO] [stdout]     | -------------------------------------------- similarly named function `test_function` defined here
[INFO] [stdout] ...
[INFO] [stdout] 502 | pushfunction(state, test_function);
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 502 - pushfunction(state, test_function);
[INFO] [stdout] 502 + test_function(state, test_function);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 503 | 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] 490 + 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] 508 |     pushinteger(state, counter);
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 490 + 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] 512 | 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] 490 + 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] 513 | 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] 490 + 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] 513 | 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] 490 + 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] 498 | 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] 498 | 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] 506 | 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, 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.21s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bb32d311e9857797e84c7797756c3e2ee984cf6b149a67b664266540e02af8d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb32d311e9857797e84c7797756c3e2ee984cf6b149a67b664266540e02af8d0", kill_on_drop: false }`
[INFO] [stdout] bb32d311e9857797e84c7797756c3e2ee984cf6b149a67b664266540e02af8d0
