[INFO] crate lua_actor 0.1.18 is already in cache [INFO] checking lua_actor-0.1.18 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate lua_actor 0.1.18 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate lua_actor 0.1.18 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate lua_actor 0.1.18 [INFO] finished tweaking crates.io crate lua_actor 0.1.18 [INFO] tweaked toml for crates.io crate lua_actor 0.1.18 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "RUSTFLAGS=--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" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3850b6e36569093c075ee8bb7ce7c276f96654531db15b619bb5966c5101fff2 [INFO] running `"docker" "start" "-a" "3850b6e36569093c075ee8bb7ce7c276f96654531db15b619bb5966c5101fff2"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking fp_rust v0.1.39 [INFO] [stderr] Compiling rlua v0.17.0 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking lua_actor v0.1.18 (/opt/rustwide/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 `&rlua::Lua` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(rlua::Value<'lua>, rlua::Context<'lua>) -> std::result::Result<_, _>` [INFO] [stderr] found fn pointer `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 `&rlua::Lua` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(message::LuaMessage, rlua::Context<'lua>) -> std::result::Result<_, _>` [INFO] [stderr] found fn pointer `fn(message::LuaMessage, &'lua rlua::Lua) -> std::result::Result<_, _>` [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 `&rlua::Lua` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(rlua::Value<'lua>, rlua::Context<'lua>) -> std::result::Result<_, _>` [INFO] [stderr] found fn pointer `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 `&rlua::Lua` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(message::LuaMessage, rlua::Context<'lua>) -> std::result::Result<_, _>` [INFO] [stderr] found fn pointer `fn(message::LuaMessage, &'lua rlua::Lua) -> std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for reference `&'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] | ^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for reference `&'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] | ^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_function` found for reference `&'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] | ^^^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for struct `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] | ^^^^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for struct `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] | ^^^^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `load` found for reference `&'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] | ^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exec` found for struct `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] | ^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exec` found for reference `&'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] | ^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eval` found for struct `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] | ^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eval` found for reference `&'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] | ^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for struct `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] | ^^^^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for reference `&'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] | ^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for reference `&'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] | ^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for reference `&'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] | ^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_function` found for reference `&'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] | ^^^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for struct `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] | ^^^^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for struct `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] | ^^^^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `load` found for reference `&'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] | ^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exec` found for struct `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] | ^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exec` found for reference `&'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] | ^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eval` found for struct `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] | ^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eval` found for reference `&'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] | ^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for struct `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] | ^^^^^^^ method not found in `std::sync::MutexGuard<'_, rlua::Lua>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `globals` found for reference `&'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] | ^^^^^^^ method not found in `&'lua rlua::Lua` [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 `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `coerce_integer` found for reference `&'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] | ^^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `coerce_number` found for reference `&'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] | ^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [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 `&rlua::Lua` [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 `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `coerce_integer` found for reference `&'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] | ^^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `coerce_number` found for reference `&'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] | ^^^^^^^^^^^^^ method not found in `&'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 `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_string` found for reference `&'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] | ^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_table_from` found for reference `&'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] | ^^^^^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_sequence_from` found for reference `&'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] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [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 `&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 `&rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_string` found for reference `&'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] | ^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_table_from` found for reference `&'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] | ^^^^^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `create_sequence_from` found for reference `&'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] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&'lua rlua::Lua` [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] error[E0599]: no method named `create_string` found for struct `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] | ^^^^^^^^^^^^^ method not found in `rlua::Lua` [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] 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] 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] 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] error[E0599]: no method named `create_table` found for struct `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] | ^^^^^^^^^^^^ method not found in `rlua::Lua` [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] 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] error[E0599]: no method named `create_string` found for struct `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] | ^^^^^^^^^^^^^ method not found in `rlua::Lua` [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] 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] 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] error[E0599]: no method named `create_table` found for struct `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] | ^^^^^^^^^^^^ method not found in `rlua::Lua` [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] error[E0599]: no method named `create_sequence_from` found for struct `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] | ^^^^^^^^^^^^^^^^^^^^ method not found in `rlua::Lua` [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] 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" "3850b6e36569093c075ee8bb7ce7c276f96654531db15b619bb5966c5101fff2"` [INFO] running `"docker" "rm" "-f" "3850b6e36569093c075ee8bb7ce7c276f96654531db15b619bb5966c5101fff2"` [INFO] [stdout] 3850b6e36569093c075ee8bb7ce7c276f96654531db15b619bb5966c5101fff2