[INFO] cloning repository https://github.com/distil/rust_lua_ffi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/distil/rust_lua_ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdistil%2Frust_lua_ffi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdistil%2Frust_lua_ffi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30820cdc9282c938dbf8e7bb0a1ea31cf56b25a6 [INFO] checking distil/rust_lua_ffi/30820cdc9282c938dbf8e7bb0a1ea31cf56b25a6 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdistil%2Frust_lua_ffi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/distil/rust_lua_ffi on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/distil/rust_lua_ffi [INFO] finished tweaking git repo https://github.com/distil/rust_lua_ffi [INFO] tweaked toml for git repo https://github.com/distil/rust_lua_ffi written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/distil/rust_lua_ffi already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 993d30877988a760ad8869016d3e3de29a4c12f3eafb44cc51e75eff0d3cefac [INFO] running `Command { std: "docker" "start" "-a" "993d30877988a760ad8869016d3e3de29a4c12f3eafb44cc51e75eff0d3cefac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "993d30877988a760ad8869016d3e3de29a4c12f3eafb44cc51e75eff0d3cefac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993d30877988a760ad8869016d3e3de29a4c12f3eafb44cc51e75eff0d3cefac", kill_on_drop: false }` [INFO] [stdout] 993d30877988a760ad8869016d3e3de29a4c12f3eafb44cc51e75eff0d3cefac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a184e13185d7fc1dc02d12d920adbf8bf7871ba31e5b53b3805a2ee2493ef0ba [INFO] running `Command { std: "docker" "start" "-a" "a184e13185d7fc1dc02d12d920adbf8bf7871ba31e5b53b3805a2ee2493ef0ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking proc-macro2 v0.2.3 [INFO] [stderr] Checking quote v0.4.2 [INFO] [stderr] Checking syn v0.12.15 [INFO] [stderr] Checking c-marshalling v0.2.0 (/opt/rustwide/workdir/c-marshalling) [INFO] [stderr] Checking parser v0.2.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking derive-c-marshalling-library v0.1.0 (/opt/rustwide/workdir/derive-c-marshalling-library) [INFO] [stderr] Checking generator v2.0.0 (/opt/rustwide/workdir/generator) [INFO] [stderr] Checking derive-lua-marshalling v0.2.0 (/opt/rustwide/workdir/derive-lua-marshalling) [INFO] [stderr] Compiling rust-unit v0.1.0 (/opt/rustwide/workdir/rust-unit) [INFO] [stderr] Compiling rust-example v0.1.0 (/opt/rustwide/workdir/rust-example) [INFO] [stderr] Checking lua-marshalling v0.3.0 (/opt/rustwide/workdir/lua-marshalling) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lua-marshalling/src/lib.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | / format!( [INFO] [stdout] 49 | | "Invalid value ({:#?}) supplied for \ [INFO] [stdout] 50 | | RUST_LUA_FFI_TYPE_PREFIX. Value must contain only \ [INFO] [stdout] 51 | | ASCII alpha-numeric characters or underscores and \ [INFO] [stdout] 52 | | cannot start with a number", [INFO] [stdout] 53 | | name, [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 48 ~ [INFO] [stdout] 49 | "Invalid value ({:#?}) supplied for \ [INFO] [stdout] ... [INFO] [stdout] 53 | name, [INFO] [stdout] 54 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lua-marshalling/src/lib.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | / format!( [INFO] [stdout] 49 | | "Invalid value ({:#?}) supplied for \ [INFO] [stdout] 50 | | RUST_LUA_FFI_TYPE_PREFIX. Value must contain only \ [INFO] [stdout] 51 | | ASCII alpha-numeric characters or underscores and \ [INFO] [stdout] 52 | | cannot start with a number", [INFO] [stdout] 53 | | name, [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 48 ~ [INFO] [stdout] 49 | "Invalid value ({:#?}) supplied for \ [INFO] [stdout] ... [INFO] [stdout] 53 | name, [INFO] [stdout] 54 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust-example-83692892be55c541/out/ffi.rs:272:421 [INFO] [stdout] | [INFO] [stdout] 272 | ... bootstrap != std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 272 | "# . to_owned ( ) ] . join ( "\n" ) ) . ok ( ) . map ( std :: ffi :: CString :: into_raw ) . unwrap_or_else ( std :: ptr :: null_mut ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { if bootstrap != std :: ptr :: null_mut ( ) { let _ = std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust-example-83692892be55c541/out/ffi.rs:272:421 [INFO] [stdout] | [INFO] [stdout] 272 | ... bootstrap != std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 272 | "# . to_owned ( ) ] . join ( "\n" ) ) . ok ( ) . map ( std :: ffi :: CString :: into_raw ) . unwrap_or_else ( std :: ptr :: null_mut ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { if bootstrap != std :: ptr :: null_mut ( ) { let _ = std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust-unit-9228e554d701d700/out/ffi.rs:714:421 [INFO] [stdout] | [INFO] [stdout] 714 | ... bootstrap != std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 714 | "# . to_owned ( ) ] . join ( "\n" ) ) . ok ( ) . map ( std :: ffi :: CString :: into_raw ) . unwrap_or_else ( std :: ptr :: null_mut ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { if bootstrap != std :: ptr :: null_mut ( ) { let _ = std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust-unit-9228e554d701d700/out/ffi.rs:714:421 [INFO] [stdout] | [INFO] [stdout] 714 | ... bootstrap != std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 714 | "# . to_owned ( ) ] . join ( "\n" ) ) . ok ( ) . map ( std :: ffi :: CString :: into_raw ) . unwrap_or_else ( std :: ptr :: null_mut ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { if bootstrap != std :: ptr :: null_mut ( ) { let _ = std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a184e13185d7fc1dc02d12d920adbf8bf7871ba31e5b53b3805a2ee2493ef0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a184e13185d7fc1dc02d12d920adbf8bf7871ba31e5b53b3805a2ee2493ef0ba", kill_on_drop: false }` [INFO] [stdout] a184e13185d7fc1dc02d12d920adbf8bf7871ba31e5b53b3805a2ee2493ef0ba