[INFO] crate lua_actor 0.1.18 is already in cache [INFO] extracting crate lua_actor 0.1.18 into work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/lua_actor/0.1.18 [INFO] extracting crate lua_actor 0.1.18 into work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/lua_actor/0.1.18 [INFO] validating manifest of lua_actor-0.1.18 on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of lua_actor-0.1.18 on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing lua_actor-0.1.18 [INFO] finished frobbing lua_actor-0.1.18 [INFO] frobbed toml for lua_actor-0.1.18 written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/lua_actor/0.1.18/Cargo.toml [INFO] started frobbing lua_actor-0.1.18 [INFO] finished frobbing lua_actor-0.1.18 [INFO] frobbed toml for lua_actor-0.1.18 written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/lua_actor/0.1.18/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] checking lua_actor-0.1.18 against try#f45cc3094ee337acd688771b9234318046b0572d for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-2/try#f45cc3094ee337acd688771b9234318046b0572d:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/lua_actor/0.1.18:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 872b3c0fefdf92607976addfb1e0152c2593892c17cc0ea59a1f48a464a07bc0 [INFO] running `"docker" "start" "-a" "872b3c0fefdf92607976addfb1e0152c2593892c17cc0ea59a1f48a464a07bc0"` [INFO] [stderr] Checking fp_rust v0.1.39 [INFO] [stderr] Compiling rlua v0.16.3 [INFO] [stderr] Checking lua_actor v0.1.18 (/opt/crater/workdir) [INFO] [stderr] error[E0053]: method `from_lua` has an incompatible type for trait [INFO] [stderr] --> src/message.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | fn from_lua(v: Value, lua: &'lua Lua) -> LuaResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(rlua::Value<'lua>, rlua::Context<'lua>) -> std::result::Result` [INFO] [stderr] found type `fn(rlua::Value<'_>, &'lua rlua::Lua) -> std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `to_lua` has an incompatible type for trait [INFO] [stderr] --> src/message.rs:232:5 [INFO] [stderr] | [INFO] [stderr] 232 | fn to_lua(self, lua: &'lua Lua) -> LuaResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(message::LuaMessage, rlua::Context<'lua>) -> std::result::Result, rlua::Error>` [INFO] [stderr] found type `fn(message::LuaMessage, &'lua rlua::Lua) -> std::result::Result, rlua::Error>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:106:13 [INFO] [stderr] | [INFO] [stderr] 106 | lua.globals().set::<_, V>(key, value) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | lua.globals().get::<_, V>(key) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_function` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | lua.create_function(func) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:182:63 [INFO] [stderr] | [INFO] [stderr] 182 | let _ = Self::def_fn_with_name(&lua, &lua.globals(), func.clone(), key); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:187:51 [INFO] [stderr] | [INFO] [stderr] 187 | Self::def_fn_with_name(&lua, &lua.globals(), func.clone(), key)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `load` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:199:13 [INFO] [stderr] | [INFO] [stderr] 199 | lua.load(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exec` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:258:29 [INFO] [stderr] | [INFO] [stderr] 258 | lua.lock().unwrap().exec(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exec` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:265:13 [INFO] [stderr] | [INFO] [stderr] 265 | lua.exec(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eval` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:284:29 [INFO] [stderr] | [INFO] [stderr] 284 | lua.lock().unwrap().eval(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eval` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:291:13 [INFO] [stderr] | [INFO] [stderr] 291 | lua.eval(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:322:33 [INFO] [stderr] | [INFO] [stderr] 322 | let func: Function = vm.globals().get::<_, Function>(name)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:332:34 [INFO] [stderr] | [INFO] [stderr] 332 | let func: Function = lua.globals().get::<_, Function>(name)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0053]: method `from_lua` has an incompatible type for trait [INFO] [stderr] --> src/message.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | fn from_lua(v: Value, lua: &'lua Lua) -> LuaResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(rlua::Value<'lua>, rlua::Context<'lua>) -> std::result::Result` [INFO] [stderr] found type `fn(rlua::Value<'_>, &'lua rlua::Lua) -> std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `to_lua` has an incompatible type for trait [INFO] [stderr] --> src/message.rs:232:5 [INFO] [stderr] | [INFO] [stderr] 232 | fn to_lua(self, lua: &'lua Lua) -> LuaResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(message::LuaMessage, rlua::Context<'lua>) -> std::result::Result, rlua::Error>` [INFO] [stderr] found type `fn(message::LuaMessage, &'lua rlua::Lua) -> std::result::Result, rlua::Error>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:210:90 [INFO] [stderr] | [INFO] [stderr] 210 | Value::String(x) => Ok(LuaMessage::String(String::from_lua(Value::String(x), lua)?)), [INFO] [stderr] | ^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:106:13 [INFO] [stderr] | [INFO] [stderr] 106 | lua.globals().set::<_, V>(key, value) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `coerce_integer` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:211:61 [INFO] [stderr] | [INFO] [stderr] 211 | Value::Integer(_) => Ok(LuaMessage::Integer(lua.coerce_integer(v)? as i64)), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | lua.globals().get::<_, V>(key) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `coerce_number` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:212:59 [INFO] [stderr] | [INFO] [stderr] 212 | Value::Number(_) => Ok(LuaMessage::Number(lua.coerce_number(v)? as f64)), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_function` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | lua.create_function(func) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:182:63 [INFO] [stderr] | [INFO] [stderr] 182 | let _ = Self::def_fn_with_name(&lua, &lua.globals(), func.clone(), key); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:187:51 [INFO] [stderr] | [INFO] [stderr] 187 | Self::def_fn_with_name(&lua, &lua.globals(), func.clone(), key)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `load` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:199:13 [INFO] [stderr] | [INFO] [stderr] 199 | lua.load(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exec` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:258:29 [INFO] [stderr] | [INFO] [stderr] 258 | lua.lock().unwrap().exec(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exec` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:265:13 [INFO] [stderr] | [INFO] [stderr] 265 | lua.exec(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eval` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:284:29 [INFO] [stderr] | [INFO] [stderr] 284 | lua.lock().unwrap().eval(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eval` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:291:13 [INFO] [stderr] | [INFO] [stderr] 291 | lua.eval(source, name) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `std::sync::MutexGuard<'_, rlua::Lua>` in the current scope [INFO] [stderr] --> src/actor.rs:322:33 [INFO] [stderr] | [INFO] [stderr] 322 | let func: Function = vm.globals().get::<_, Function>(name)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/actor.rs:332:34 [INFO] [stderr] | [INFO] [stderr] 332 | let func: Function = lua.globals().get::<_, Function>(name)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:220:73 [INFO] [stderr] | [INFO] [stderr] 220 | Ok(LuaMessage::Array(Vec::from_lua(Value::Table(t), lua)?)) [INFO] [stderr] | ^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:222:77 [INFO] [stderr] | [INFO] [stderr] 222 | Ok(LuaMessage::Table(HashMap::from_lua(Value::Table(t), lua)?)) [INFO] [stderr] | ^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_string` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:234:59 [INFO] [stderr] | [INFO] [stderr] 234 | LuaMessage::String(x) => Ok(Value::String(lua.create_string(&x)?)), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_table_from` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:239:57 [INFO] [stderr] | [INFO] [stderr] 239 | LuaMessage::Table(x) => Ok(Value::Table(lua.create_table_from(x)?)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_sequence_from` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:240:57 [INFO] [stderr] | [INFO] [stderr] 240 | LuaMessage::Array(x) => Ok(Value::Table(lua.create_sequence_from(x)?)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: Could not compile `lua_actor`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:210:90 [INFO] [stderr] | [INFO] [stderr] 210 | Value::String(x) => Ok(LuaMessage::String(String::from_lua(Value::String(x), lua)?)), [INFO] [stderr] | ^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `coerce_integer` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:211:61 [INFO] [stderr] | [INFO] [stderr] 211 | Value::Integer(_) => Ok(LuaMessage::Integer(lua.coerce_integer(v)? as i64)), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `coerce_number` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:212:59 [INFO] [stderr] | [INFO] [stderr] 212 | Value::Number(_) => Ok(LuaMessage::Number(lua.coerce_number(v)? as f64)), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:220:73 [INFO] [stderr] | [INFO] [stderr] 220 | Ok(LuaMessage::Array(Vec::from_lua(Value::Table(t), lua)?)) [INFO] [stderr] | ^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:222:77 [INFO] [stderr] | [INFO] [stderr] 222 | Ok(LuaMessage::Table(HashMap::from_lua(Value::Table(t), lua)?)) [INFO] [stderr] | ^^^ expected struct `rlua::Context`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_string` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:234:59 [INFO] [stderr] | [INFO] [stderr] 234 | LuaMessage::String(x) => Ok(Value::String(lua.create_string(&x)?)), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_table_from` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:239:57 [INFO] [stderr] | [INFO] [stderr] 239 | LuaMessage::Table(x) => Ok(Value::Table(lua.create_table_from(x)?)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_sequence_from` found for type `&'lua rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:240:57 [INFO] [stderr] | [INFO] [stderr] 240 | LuaMessage::Array(x) => Ok(Value::Table(lua.create_sequence_from(x)?)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:274:58 [INFO] [stderr] | [INFO] [stderr] 274 | discriminant(&LuaMessage::Integer(42).to_lua(&lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:278:72 [INFO] [stderr] | [INFO] [stderr] 278 | discriminant(&LuaMessage::String("foo".to_string()).to_lua(&lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_string` found for type `rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:279:45 [INFO] [stderr] | [INFO] [stderr] 279 | discriminant(&Value::String(lua.create_string("foo").unwrap())) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:282:59 [INFO] [stderr] | [INFO] [stderr] 282 | discriminant(&LuaMessage::Number(42.5).to_lua(&lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:286:60 [INFO] [stderr] | [INFO] [stderr] 286 | discriminant(&LuaMessage::Boolean(true).to_lua(&lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:290:50 [INFO] [stderr] | [INFO] [stderr] 290 | discriminant(&LuaMessage::Nil.to_lua(&lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:297:55 [INFO] [stderr] | [INFO] [stderr] 297 | discriminant(&LuaMessage::Table(t).to_lua(&lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_table` found for type `rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:298:44 [INFO] [stderr] | [INFO] [stderr] 298 | discriminant(&Value::Table(lua.create_table().unwrap())) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:307:68 [INFO] [stderr] | [INFO] [stderr] 307 | discriminant(&LuaMessage::from_lua(Value::Integer(42), &lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:311:69 [INFO] [stderr] | [INFO] [stderr] 311 | discriminant(&LuaMessage::from_lua(Value::Number(42.5), &lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_string` found for type `rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:316:57 [INFO] [stderr] | [INFO] [stderr] 316 | &LuaMessage::from_lua(Value::String(lua.create_string("foo").unwrap()), &lua) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:316:89 [INFO] [stderr] | [INFO] [stderr] 316 | &LuaMessage::from_lua(Value::String(lua.create_string("foo").unwrap()), &lua) [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:322:70 [INFO] [stderr] | [INFO] [stderr] 322 | discriminant(&LuaMessage::from_lua(Value::Boolean(true), &lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:326:60 [INFO] [stderr] | [INFO] [stderr] 326 | discriminant(&LuaMessage::from_lua(Value::Nil, &lua).unwrap()), [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_table` found for type `rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:334:56 [INFO] [stderr] | [INFO] [stderr] 334 | &LuaMessage::from_lua(Value::Table(lua.create_table().unwrap()), &lua).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:334:82 [INFO] [stderr] | [INFO] [stderr] 334 | &LuaMessage::from_lua(Value::Table(lua.create_table().unwrap()), &lua).unwrap() [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_sequence_from` found for type `rlua::Lua` in the current scope [INFO] [stderr] --> src/message.rs:344:29 [INFO] [stderr] | [INFO] [stderr] 344 | lua.create_sequence_from(vec!(LuaMessage::from(1), LuaMessage::from(2))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:347:21 [INFO] [stderr] | [INFO] [stderr] 347 | &lua [INFO] [stderr] | ^^^^ expected struct `rlua::Context`, found &rlua::Lua [INFO] [stderr] | [INFO] [stderr] = note: expected type `rlua::Context<'_>` [INFO] [stderr] found type `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error: aborting due to 40 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: Could not compile `lua_actor`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "872b3c0fefdf92607976addfb1e0152c2593892c17cc0ea59a1f48a464a07bc0"` [INFO] running `"docker" "rm" "-f" "872b3c0fefdf92607976addfb1e0152c2593892c17cc0ea59a1f48a464a07bc0"` [INFO] [stdout] 872b3c0fefdf92607976addfb1e0152c2593892c17cc0ea59a1f48a464a07bc0