[INFO] cloning repository https://github.com/alekratz/rasp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alekratz/rasp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Frasp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Frasp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02a7a665f2652b94da8572ca3919a6a8d60673b4 [INFO] checking alekratz/rasp against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Frasp" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alekratz/rasp on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alekratz/rasp [INFO] finished tweaking git repo https://github.com/alekratz/rasp [INFO] tweaked toml for git repo https://github.com/alekratz/rasp written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/alekratz/rasp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ab8fe590b6ff89e20a543c1ae24dda1ffd2890ac41739b08092ba82c9db7458 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ab8fe590b6ff89e20a543c1ae24dda1ffd2890ac41739b08092ba82c9db7458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ab8fe590b6ff89e20a543c1ae24dda1ffd2890ac41739b08092ba82c9db7458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab8fe590b6ff89e20a543c1ae24dda1ffd2890ac41739b08092ba82c9db7458", kill_on_drop: false }` [INFO] [stdout] 9ab8fe590b6ff89e20a543c1ae24dda1ffd2890ac41739b08092ba82c9db7458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad8bc4837a241b7cbbb6a671f8428a1a6ce2a50ca5fd6efbc0ce6abf42ec236d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad8bc4837a241b7cbbb6a671f8428a1a6ce2a50ca5fd6efbc0ce6abf42ec236d", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking error-chain v0.9.0 [INFO] [stderr] Checking rasp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/builtins.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | /// Builtin function definition map [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | '*' ... '/' | ':' ... '~' | '!' | '#' ... '\'' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | '*' ... '/' | ':' ... '~' | '!' | '#' ... '\'' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:194:55 [INFO] [stdout] | [INFO] [stdout] 194 | '*' ... '/' | ':' ... '~' | '!' | '#' ... '\'' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | '0' ... '9' => match self.eat_number() { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | '*' ... '~' | '!' | '#' ... '\'' => self.next(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:236:45 [INFO] [stdout] | [INFO] [stdout] 236 | '*' ... '~' | '!' | '#' ... '\'' => self.next(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | '0' ... '9' => if let Some(p) = self.peek { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | ... '0' ... '9' | '.' => { }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:296:37 [INFO] [stdout] | [INFO] [stdout] 296 | ... '0' ... '9' => decimal = true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | try!(file.read_to_string(&mut source_text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/builtins.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | /// Builtin function definition map [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | '*' ... '/' | ':' ... '~' | '!' | '#' ... '\'' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | '*' ... '/' | ':' ... '~' | '!' | '#' ... '\'' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:194:55 [INFO] [stdout] | [INFO] [stdout] 194 | '*' ... '/' | ':' ... '~' | '!' | '#' ... '\'' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | '0' ... '9' => match self.eat_number() { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | '*' ... '~' | '!' | '#' ... '\'' => self.next(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:236:45 [INFO] [stdout] | [INFO] [stdout] 236 | '*' ... '~' | '!' | '#' ... '\'' => self.next(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | '0' ... '9' => if let Some(p) = self.peek { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | ... '0' ... '9' | '.' => { }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:296:37 [INFO] [stdout] | [INFO] [stdout] 296 | ... '0' ... '9' => decimal = true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | try!(file.read_to_string(&mut source_text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/builtins.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | pub static ref BUILTIN_FUNCTIONS: HashMap<&'static str, fn(&mut vm::VM) -> Result<()>> = { [INFO] [stdout] 21 | | let mut map = HashMap::new(); [INFO] [stdout] 22 | | map.insert("stdopen", rasp_open as fn(&mut vm::VM) -> Result<()>); [INFO] [stdout] ... | [INFO] [stdout] 41 | | }; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/builtins.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | pub static ref BUILTIN_FUNCTIONS: HashMap<&'static str, fn(&mut vm::VM) -> Result<()>> = { [INFO] [stdout] 21 | | let mut map = HashMap::new(); [INFO] [stdout] 22 | | map.insert("stdopen", rasp_open as fn(&mut vm::VM) -> Result<()>); [INFO] [stdout] ... | [INFO] [stdout] 41 | | }; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/builtins.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | pub static ref BUILTIN_FUNCTIONS: HashMap<&'static str, fn(&mut vm::VM) -> Result<()>> = { [INFO] [stdout] 21 | | let mut map = HashMap::new(); [INFO] [stdout] 22 | | map.insert("stdopen", rasp_open as fn(&mut vm::VM) -> Result<()>); [INFO] [stdout] ... | [INFO] [stdout] 41 | | }; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/builtins.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | pub static ref BUILTIN_FUNCTIONS: HashMap<&'static str, fn(&mut vm::VM) -> Result<()>> = { [INFO] [stdout] 21 | | let mut map = HashMap::new(); [INFO] [stdout] 22 | | map.insert("stdopen", rasp_open as fn(&mut vm::VM) -> Result<()>); [INFO] [stdout] ... | [INFO] [stdout] 41 | | }; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/bytecode.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let mut count = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/bytecode.rs:157:37 [INFO] [stdout] | [INFO] [stdout] 157 | ... let ref param = fun.params[arg_index]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/bytecode.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let mut count = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/bytecode.rs:157:37 [INFO] [stdout] | [INFO] [stdout] 157 | ... let ref param = fun.params[arg_index]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let mut bytecode = { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_table` [INFO] [stdout] --> src/bytecode.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | type_table: &'a TypeTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let mut bytecode = { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/builtins.rs:297:46 [INFO] [stdout] | [INFO] [stdout] 297 | open(CString::new(path).unwrap().as_ptr(), open_flags, 0o644) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_table` [INFO] [stdout] --> src/bytecode.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | type_table: &'a TypeTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/builtins.rs:297:46 [INFO] [stdout] | [INFO] [stdout] 297 | open(CString::new(path).unwrap().as_ptr(), open_flags, 0o644) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.28s [INFO] running `Command { std: "docker" "inspect" "ad8bc4837a241b7cbbb6a671f8428a1a6ce2a50ca5fd6efbc0ce6abf42ec236d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8bc4837a241b7cbbb6a671f8428a1a6ce2a50ca5fd6efbc0ce6abf42ec236d", kill_on_drop: false }` [INFO] [stdout] ad8bc4837a241b7cbbb6a671f8428a1a6ce2a50ca5fd6efbc0ce6abf42ec236d