[INFO] cloning repository https://github.com/mfpiccolo/convert [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfpiccolo/convert" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfpiccolo%2Fconvert", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfpiccolo%2Fconvert'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 087b276ff6892610dcfeb18abaee0cfa726e0bd6 [INFO] checking mfpiccolo/convert against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfpiccolo%2Fconvert" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mfpiccolo/convert on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mfpiccolo/convert [INFO] finished tweaking git repo https://github.com/mfpiccolo/convert [INFO] tweaked toml for git repo https://github.com/mfpiccolo/convert written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mfpiccolo/convert already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 317a381a008a0aabbbe02b930068e98e50af787c300143c80c0a1fb83e347a64 [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" "317a381a008a0aabbbe02b930068e98e50af787c300143c80c0a1fb83e347a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "317a381a008a0aabbbe02b930068e98e50af787c300143c80c0a1fb83e347a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317a381a008a0aabbbe02b930068e98e50af787c300143c80c0a1fb83e347a64", kill_on_drop: false }` [INFO] [stdout] 317a381a008a0aabbbe02b930068e98e50af787c300143c80c0a1fb83e347a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7b9793e8a699c6af19f13ee54ad60d51416535e7974d31e18603ad46c65d62e4 [INFO] running `Command { std: "docker" "start" "-a" "7b9793e8a699c6af19f13ee54ad60d51416535e7974d31e18603ad46c65d62e4", kill_on_drop: false }` [INFO] [stderr] Checking convert v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/stringify/convert_i32.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/stringify/convert_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/stringify/convert_str.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/stringify/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stringify::Stringify` [INFO] [stdout] --> src/convert_macro/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use stringify::Stringify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/benches/convert_libc_char_bench.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/benches/convert_libc_char_bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/benches/convert_i32_bench.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/benches/convert_i32_bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/benches/convert_string_bench.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/benches/convert_string_bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/external_function_tests/extern_convert_i32_test.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_i32_test.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn i32_convert_to_string_test() { [INFO] [stdout] 8 | | let y = convert!(100 => String) as String; [INFO] [stdout] 9 | | println!("{:?}", y); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_i32_test.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub extern fn i32_to_libc_char_test() -> *const libc::c_char { [INFO] [stdout] 14 | | convert!(1 => *const libc::c_char) as *const libc::c_char [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/external_function_tests/extern_convert_libc_char_test.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_libc_char_test.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn libc_char_to_libc_char_test() -> *const libc::c_char { [INFO] [stdout] 8 | | let cstring = CString::new("a string".to_string()).unwrap(); [INFO] [stdout] 9 | | let libc_char: *const libc::c_char = cstring.as_ptr(); [INFO] [stdout] 10 | | libc_char.convert_to_libc_char() [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_string_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn string_to_libc_char_test() -> *const libc::c_char { [INFO] [stdout] 7 | | String::from("string").convert_to_libc_char() [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_str_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn str_to_libc_char_test() -> *const libc::c_char { [INFO] [stdout] 7 | | "a string".convert_to_libc_char() [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub extern fn no_op() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub extern fn test() { [INFO] [stdout] 21 | | let x = convert!(34 => String); [INFO] [stdout] 22 | | println!("{:?}", x); [INFO] [stdout] 23 | | let y = convert!(34 => CString); [INFO] [stdout] ... | [INFO] [stdout] 30 | | println!("{:?}", q); [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/stringify/convert_i32.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/stringify/convert_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/stringify/convert_str.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/stringify/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stringify::Stringify` [INFO] [stdout] --> src/convert_macro/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use stringify::Stringify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stringify::Stringify` [INFO] [stdout] --> src/tests/convert_i32_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use stringify::Stringify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/tests/convert_i32_test.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/tests/convert_i32_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stringify::Stringify` [INFO] [stdout] --> src/benches/convert_libc_char_bench.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stringify::Stringify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/benches/convert_libc_char_bench.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/benches/convert_libc_char_bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::test::Bencher` [INFO] [stdout] --> src/benches/convert_libc_char_bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stringify::Stringify` [INFO] [stdout] --> src/benches/convert_i32_bench.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stringify::Stringify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/benches/convert_i32_bench.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/benches/convert_i32_bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::test::Bencher` [INFO] [stdout] --> src/benches/convert_i32_bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stringify::Stringify` [INFO] [stdout] --> src/benches/convert_string_bench.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stringify::Stringify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/benches/convert_string_bench.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/benches/convert_string_bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::test::Bencher` [INFO] [stdout] --> src/benches/convert_string_bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/external_function_tests/extern_convert_i32_test.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_i32_test.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn i32_convert_to_string_test() { [INFO] [stdout] 8 | | let y = convert!(100 => String) as String; [INFO] [stdout] 9 | | println!("{:?}", y); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_i32_test.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub extern fn i32_to_libc_char_test() -> *const libc::c_char { [INFO] [stdout] 14 | | convert!(1 => *const libc::c_char) as *const libc::c_char [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/external_function_tests/extern_convert_libc_char_test.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_libc_char_test.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn libc_char_to_libc_char_test() -> *const libc::c_char { [INFO] [stdout] 8 | | let cstring = CString::new("a string".to_string()).unwrap(); [INFO] [stdout] 9 | | let libc_char: *const libc::c_char = cstring.as_ptr(); [INFO] [stdout] 10 | | libc_char.convert_to_libc_char() [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_string_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn string_to_libc_char_test() -> *const libc::c_char { [INFO] [stdout] 7 | | String::from("string").convert_to_libc_char() [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/external_function_tests/extern_convert_str_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn str_to_libc_char_test() -> *const libc::c_char { [INFO] [stdout] 7 | | "a string".convert_to_libc_char() [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub extern fn no_op() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub extern fn test() { [INFO] [stdout] 21 | | let x = convert!(34 => String); [INFO] [stdout] 22 | | println!("{:?}", x); [INFO] [stdout] 23 | | let y = convert!(34 => CString); [INFO] [stdout] ... | [INFO] [stdout] 30 | | println!("{:?}", q); [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `laksjdf` found for struct `std::ffi::CString` in the current scope [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | y.laksjdf(); [INFO] [stdout] | ^^^^^^^ method not found in `std::ffi::CString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `laksjdf` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | z.laksjdf(); [INFO] [stdout] | ^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `aldsjf` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | q.aldsjf(); [INFO] [stdout] | ^^^^^^ method not found in `*const i8` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `laksjdf` found for struct `std::ffi::CString` in the current scope [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | y.laksjdf(); [INFO] [stdout] | ^^^^^^^ method not found in `std::ffi::CString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `laksjdf` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | z.laksjdf(); [INFO] [stdout] | ^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `aldsjf` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | q.aldsjf(); [INFO] [stdout] | ^^^^^^ method not found in `*const i8` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `convert`. [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] [stdout] error: aborting due to 10 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7b9793e8a699c6af19f13ee54ad60d51416535e7974d31e18603ad46c65d62e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9793e8a699c6af19f13ee54ad60d51416535e7974d31e18603ad46c65d62e4", kill_on_drop: false }` [INFO] [stdout] 7b9793e8a699c6af19f13ee54ad60d51416535e7974d31e18603ad46c65d62e4