[INFO] cloning repository https://github.com/francisol/osier-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/francisol/osier-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrancisol%2Fosier-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrancisol%2Fosier-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d03f1b5a703b7ae1a9de205489803f2a497b8a4 [INFO] checking francisol/osier-server against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrancisol%2Fosier-server" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/francisol/osier-server on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/francisol/osier-server [INFO] finished tweaking git repo https://github.com/francisol/osier-server [INFO] tweaked toml for git repo https://github.com/francisol/osier-server written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/francisol/osier-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v0.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45a31a93afdb2967e288a6a5afc9658340f991dd25c1d9f1630308e34012d6cc [INFO] running `Command { std: "docker" "start" "-a" "45a31a93afdb2967e288a6a5afc9658340f991dd25c1d9f1630308e34012d6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45a31a93afdb2967e288a6a5afc9658340f991dd25c1d9f1630308e34012d6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a31a93afdb2967e288a6a5afc9658340f991dd25c1d9f1630308e34012d6cc", kill_on_drop: false }` [INFO] [stdout] 45a31a93afdb2967e288a6a5afc9658340f991dd25c1d9f1630308e34012d6cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e70f6628866902049b9704ebd61745e2f4560f0b4e87b2b6fffa4c8304440bd [INFO] running `Command { std: "docker" "start" "-a" "0e70f6628866902049b9704ebd61745e2f4560f0b4e87b2b6fffa4c8304440bd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.13: winapi [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling osier-server v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking regex v1.3.5 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/runner/script.rs (1 fix) [INFO] [stderr] Fixed src/repository/sqlite.rs (1 fix) [INFO] [stderr] Fixed src/error/mod.rs (1 fix) [INFO] [stderr] Fixed src/runner/task.rs (8 fixes) [INFO] [stderr] Fixed src/runner/manager.rs (2 fixes) [INFO] [stderr] Fixed src/repository/mod.rs (1 fix) [INFO] [stderr] Fixed src/server/mod.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stdout] warning: type `lua_State` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type lua_State = c_void; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LuaState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_Number` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type lua_Number = f64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaNumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `size_t` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type size_t = c_ulong; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `SizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_KFunction` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type lua_KFunction = c_void; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaKfunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_KContext` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type lua_KContext = isize; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaKcontext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_State` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type lua_State = c_void; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LuaState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_Number` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type lua_Number = f64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaNumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `size_t` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type size_t = c_ulong; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `SizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_KFunction` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type lua_KFunction = c_void; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaKfunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_KContext` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type lua_KContext = isize; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaKcontext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ServerStatus` in public interface (error E0446) [INFO] [stdout] --> src/handle/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | ServerStatus(ServerStatus), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `lua_Number` [INFO] [stdout] --> src/lua/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type lua_Number = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TNIL` [INFO] [stdout] --> src/lua/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const LUA_TNIL:i32 =0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TBOOLEAN` [INFO] [stdout] --> src/lua/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const LUA_TBOOLEAN:i32 =1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TLIGHTUSERDATA` [INFO] [stdout] --> src/lua/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const LUA_TLIGHTUSERDATA:i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TNUMBER` [INFO] [stdout] --> src/lua/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LUA_TNUMBER:i32 =3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TSTRING` [INFO] [stdout] --> src/lua/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const LUA_TSTRING:i32 =4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TTABLE` [INFO] [stdout] --> src/lua/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const LUA_TTABLE:i32 =5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TUSERDATA` [INFO] [stdout] --> src/lua/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const LUA_TUSERDATA:i32 =7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TTHREAD` [INFO] [stdout] --> src/lua/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LUA_TTHREAD:i32 =8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_NUMTAGS` [INFO] [stdout] --> src/lua/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const LUA_NUMTAGS:i32 =9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lua_version` [INFO] [stdout] --> src/lua/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn lua_version(L: *mut lua_State) -> * const f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getString` [INFO] [stdout] --> src/lua/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_dir` [INFO] [stdout] --> src/runner/task.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | base_dir: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/runner/script.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | file: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/error/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / match self { [INFO] [stdout] 30 | | Error::OK=>write!(f,"No error"), [INFO] [stdout] 31 | | Error::JSON(e)=>write!(f,"{}",e), [INFO] [stdout] 32 | | Error::IO(e)=>write!(f,"{}",e), [INFO] [stdout] ... | [INFO] [stdout] 38 | | Error::Mustache(e)=>write!(f,"mustache {}",e), [INFO] [stdout] 39 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getString` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn push_path(L: *mut lua_State, dir: &String) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runner/task.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | sennder.send(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ServerStatus` in public interface (error E0446) [INFO] [stdout] --> src/handle/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | ServerStatus(ServerStatus), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `lua_Number` [INFO] [stdout] --> src/lua/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type lua_Number = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TNIL` [INFO] [stdout] --> src/lua/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const LUA_TNIL:i32 =0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TBOOLEAN` [INFO] [stdout] --> src/lua/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const LUA_TBOOLEAN:i32 =1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TLIGHTUSERDATA` [INFO] [stdout] --> src/lua/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const LUA_TLIGHTUSERDATA:i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TNUMBER` [INFO] [stdout] --> src/lua/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LUA_TNUMBER:i32 =3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TSTRING` [INFO] [stdout] --> src/lua/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const LUA_TSTRING:i32 =4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TTABLE` [INFO] [stdout] --> src/lua/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const LUA_TTABLE:i32 =5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TUSERDATA` [INFO] [stdout] --> src/lua/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const LUA_TUSERDATA:i32 =7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TTHREAD` [INFO] [stdout] --> src/lua/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LUA_TTHREAD:i32 =8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_NUMTAGS` [INFO] [stdout] --> src/lua/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const LUA_NUMTAGS:i32 =9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lua_version` [INFO] [stdout] --> src/lua/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn lua_version(L: *mut lua_State) -> * const f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getString` [INFO] [stdout] --> src/lua/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_dir` [INFO] [stdout] --> src/runner/task.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | base_dir: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/runner/script.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | file: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/error/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / match self { [INFO] [stdout] 30 | | Error::OK=>write!(f,"No error"), [INFO] [stdout] 31 | | Error::JSON(e)=>write!(f,"{}",e), [INFO] [stdout] 32 | | Error::IO(e)=>write!(f,"{}",e), [INFO] [stdout] ... | [INFO] [stdout] 38 | | Error::Mustache(e)=>write!(f,"mustache {}",e), [INFO] [stdout] 39 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getString` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn push_path(L: *mut lua_State, dir: &String) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runner/task.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | sennder.send(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.01s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling osier-server v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stdout] warning: type `lua_State` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type lua_State = c_void; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LuaState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_Number` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type lua_Number = f64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaNumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `size_t` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type size_t = c_ulong; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `SizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_KFunction` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type lua_KFunction = c_void; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaKfunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_KContext` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type lua_KContext = isize; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaKcontext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_State` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type lua_State = c_void; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LuaState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_Number` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type lua_Number = f64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaNumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `size_t` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type size_t = c_ulong; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `SizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_KFunction` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type lua_KFunction = c_void; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaKfunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lua_KContext` should have an upper camel case name [INFO] [stdout] --> src/lua/mod.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type lua_KContext = isize; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LuaKcontext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ServerStatus` in public interface (error E0446) [INFO] [stdout] --> src/handle/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | ServerStatus(ServerStatus), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `lua_Number` [INFO] [stdout] --> src/lua/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type lua_Number = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TNIL` [INFO] [stdout] --> src/lua/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const LUA_TNIL:i32 =0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TBOOLEAN` [INFO] [stdout] --> src/lua/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const LUA_TBOOLEAN:i32 =1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TLIGHTUSERDATA` [INFO] [stdout] --> src/lua/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const LUA_TLIGHTUSERDATA:i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TNUMBER` [INFO] [stdout] --> src/lua/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LUA_TNUMBER:i32 =3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TSTRING` [INFO] [stdout] --> src/lua/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const LUA_TSTRING:i32 =4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TTABLE` [INFO] [stdout] --> src/lua/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const LUA_TTABLE:i32 =5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TUSERDATA` [INFO] [stdout] --> src/lua/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const LUA_TUSERDATA:i32 =7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TTHREAD` [INFO] [stdout] --> src/lua/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LUA_TTHREAD:i32 =8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_NUMTAGS` [INFO] [stdout] --> src/lua/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const LUA_NUMTAGS:i32 =9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lua_version` [INFO] [stdout] --> src/lua/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn lua_version(L: *mut lua_State) -> * const f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getString` [INFO] [stdout] --> src/lua/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_dir` [INFO] [stdout] --> src/runner/task.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | base_dir: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/runner/script.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | file: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/error/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / match self { [INFO] [stdout] 30 | | Error::OK=>write!(f,"No error"), [INFO] [stdout] 31 | | Error::JSON(e)=>write!(f,"{}",e), [INFO] [stdout] 32 | | Error::IO(e)=>write!(f,"{}",e), [INFO] [stdout] ... | [INFO] [stdout] 38 | | Error::Mustache(e)=>write!(f,"mustache {}",e), [INFO] [stdout] 39 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getString` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn push_path(L: *mut lua_State, dir: &String) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runner/task.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | sennder.send(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ServerStatus` in public interface (error E0446) [INFO] [stdout] --> src/handle/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | ServerStatus(ServerStatus), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `lua_Number` [INFO] [stdout] --> src/lua/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type lua_Number = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TNIL` [INFO] [stdout] --> src/lua/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const LUA_TNIL:i32 =0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TBOOLEAN` [INFO] [stdout] --> src/lua/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const LUA_TBOOLEAN:i32 =1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TLIGHTUSERDATA` [INFO] [stdout] --> src/lua/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const LUA_TLIGHTUSERDATA:i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TNUMBER` [INFO] [stdout] --> src/lua/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LUA_TNUMBER:i32 =3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TSTRING` [INFO] [stdout] --> src/lua/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const LUA_TSTRING:i32 =4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TTABLE` [INFO] [stdout] --> src/lua/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const LUA_TTABLE:i32 =5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TUSERDATA` [INFO] [stdout] --> src/lua/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const LUA_TUSERDATA:i32 =7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_TTHREAD` [INFO] [stdout] --> src/lua/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LUA_TTHREAD:i32 =8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUA_NUMTAGS` [INFO] [stdout] --> src/lua/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const LUA_NUMTAGS:i32 =9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lua_version` [INFO] [stdout] --> src/lua/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn lua_version(L: *mut lua_State) -> * const f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getString` [INFO] [stdout] --> src/lua/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_dir` [INFO] [stdout] --> src/runner/task.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | base_dir: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/runner/script.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | file: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/error/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / match self { [INFO] [stdout] 30 | | Error::OK=>write!(f,"No error"), [INFO] [stdout] 31 | | Error::JSON(e)=>write!(f,"{}",e), [INFO] [stdout] 32 | | Error::IO(e)=>write!(f,"{}",e), [INFO] [stdout] ... | [INFO] [stdout] 38 | | Error::Mustache(e)=>write!(f,"mustache {}",e), [INFO] [stdout] 39 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getString` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn getString(L: *mut lua_State, name: &String) -> String { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/lua/mod.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn push_path(L: *mut lua_State, dir: &String) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/runner/task.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | sennder.send(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.54s [INFO] running `Command { std: "docker" "inspect" "0e70f6628866902049b9704ebd61745e2f4560f0b4e87b2b6fffa4c8304440bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e70f6628866902049b9704ebd61745e2f4560f0b4e87b2b6fffa4c8304440bd", kill_on_drop: false }` [INFO] [stdout] 0e70f6628866902049b9704ebd61745e2f4560f0b4e87b2b6fffa4c8304440bd