[INFO] fetching crate vgrs 0.1.0... [INFO] checking vgrs-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate vgrs 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate vgrs 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vgrs 0.1.0 [INFO] finished tweaking crates.io crate vgrs 0.1.0 [INFO] tweaked toml for crates.io crate vgrs 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b761f6b5483638bb4d6b9fdfeae2a671b392509269996cab33d1912ca7dee448 [INFO] running `Command { std: "docker" "start" "-a" "b761f6b5483638bb4d6b9fdfeae2a671b392509269996cab33d1912ca7dee448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b761f6b5483638bb4d6b9fdfeae2a671b392509269996cab33d1912ca7dee448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b761f6b5483638bb4d6b9fdfeae2a671b392509269996cab33d1912ca7dee448", kill_on_drop: false }` [INFO] [stdout] b761f6b5483638bb4d6b9fdfeae2a671b392509269996cab33d1912ca7dee448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ddff17e3c390fd8bff24c9d4f57520af2c80c1839f39e5d964044b44b9b0c32 [INFO] running `Command { std: "docker" "start" "-a" "6ddff17e3c390fd8bff24c9d4f57520af2c80c1839f39e5d964044b44b9b0c32", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking vgrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/arch/x86_64-linux-macos.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | impl FromUsize for c_uint { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | fn from_usize(x: usize) -> c_uint { x as c_uint } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | fn from_usize(x: usize) -> c_uint { x as c_uint } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | use libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:374:42 [INFO] [stdout] | [INFO] [stdout] 374 | => fn get_valgrind_threadid() -> c_uint); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | => fn get_drd_threadid() -> c_uint); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/arch/x86_64-linux-macos.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LeakCount: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `LeakCount` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `LeakCount` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 274 + #[derive(Clone)] [INFO] [stdout] 275 | pub struct LeakCount { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | impl FromUsize for c_uint { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | fn from_usize(x: usize) -> c_uint { x as c_uint } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | fn from_usize(x: usize) -> c_uint { x as c_uint } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | use libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:374:42 [INFO] [stdout] | [INFO] [stdout] 374 | => fn get_valgrind_threadid() -> c_uint); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | => fn get_drd_threadid() -> c_uint); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LeakCount: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `LeakCount` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `LeakCount` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 274 + #[derive(Clone)] [INFO] [stdout] 275 | pub struct LeakCount { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `CString` in the current scope [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_slice($a1.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `CString` [INFO] [stdout] ... [INFO] [stdout] 193 | / wrap_str!(VG_USERREQ__GDB_MONITOR_COMMAND [INFO] [stdout] 194 | | => fn monitor_command(cmd: &str) -> ()); [INFO] [stdout] | |_______________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `CString` consider using one of the following associated functions: [INFO] [stdout] CString::new [INFO] [stdout] CString::from_vec_unchecked [INFO] [stdout] CString::from_raw [INFO] [stdout] CString::from_vec_with_nul_unchecked [INFO] [stdout] CString::from_vec_with_nul [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/ffi/c_str.rs:260:5 [INFO] [stdout] = note: this error originates in the macro `wrap_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_str($a1.as_bytes()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `CString` in the current scope [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_slice($a1.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `CString` [INFO] [stdout] ... [INFO] [stdout] 193 | / wrap_str!(VG_USERREQ__GDB_MONITOR_COMMAND [INFO] [stdout] 194 | | => fn monitor_command(cmd: &str) -> ()); [INFO] [stdout] | |_______________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `CString` consider using one of the following associated functions: [INFO] [stdout] CString::new [INFO] [stdout] CString::from_vec_unchecked [INFO] [stdout] CString::from_raw [INFO] [stdout] CString::from_vec_with_nul_unchecked [INFO] [stdout] CString::from_vec_with_nul [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/ffi/c_str.rs:260:5 [INFO] [stdout] = note: this error originates in the macro `wrap_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_str($a1.as_bytes()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `CString` in the current scope [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_slice($a1.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `CString` [INFO] [stdout] ... [INFO] [stdout] 322 | / wrap_str!(VG_USERREQ__DUMP_STATS_AT [INFO] [stdout] 323 | | => fn dump_stats_at(pos: &str) -> ()); [INFO] [stdout] | |_____________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `CString` consider using one of the following associated functions: [INFO] [stdout] CString::new [INFO] [stdout] CString::from_vec_unchecked [INFO] [stdout] CString::from_raw [INFO] [stdout] CString::from_vec_with_nul_unchecked [INFO] [stdout] CString::from_vec_with_nul [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/ffi/c_str.rs:260:5 [INFO] [stdout] = note: this error originates in the macro `wrap_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_str($a1.as_bytes()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `CString` in the current scope [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_slice($a1.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `CString` [INFO] [stdout] ... [INFO] [stdout] 322 | / wrap_str!(VG_USERREQ__DUMP_STATS_AT [INFO] [stdout] 323 | | => fn dump_stats_at(pos: &str) -> ()); [INFO] [stdout] | |_____________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `CString` consider using one of the following associated functions: [INFO] [stdout] CString::new [INFO] [stdout] CString::from_vec_unchecked [INFO] [stdout] CString::from_raw [INFO] [stdout] CString::from_vec_with_nul_unchecked [INFO] [stdout] CString::from_vec_with_nul [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/ffi/c_str.rs:260:5 [INFO] [stdout] = note: this error originates in the macro `wrap_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_str($a1.as_bytes()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `CString` in the current scope [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_slice($a1.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `CString` [INFO] [stdout] ... [INFO] [stdout] 423 | / wrap_str!(VG_USERREQ__DRD_SET_THREAD_NAME [INFO] [stdout] 424 | | => fn annotate_thread_name(name: &str) -> ()); [INFO] [stdout] | |_____________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `CString` consider using one of the following associated functions: [INFO] [stdout] CString::new [INFO] [stdout] CString::from_vec_unchecked [INFO] [stdout] CString::from_raw [INFO] [stdout] CString::from_vec_with_nul_unchecked [INFO] [stdout] CString::from_vec_with_nul [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/ffi/c_str.rs:260:5 [INFO] [stdout] = note: this error originates in the macro `wrap_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_str($a1.as_bytes()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `CString` in the current scope [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_slice($a1.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `CString` [INFO] [stdout] ... [INFO] [stdout] 423 | / wrap_str!(VG_USERREQ__DRD_SET_THREAD_NAME [INFO] [stdout] 424 | | => fn annotate_thread_name(name: &str) -> ()); [INFO] [stdout] | |_____________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `CString` consider using one of the following associated functions: [INFO] [stdout] CString::new [INFO] [stdout] CString::from_vec_unchecked [INFO] [stdout] CString::from_raw [INFO] [stdout] CString::from_vec_with_nul_unchecked [INFO] [stdout] CString::from_vec_with_nul [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/ffi/c_str.rs:260:5 [INFO] [stdout] = note: this error originates in the macro `wrap_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 | let c_str = CString::from_str($a1.as_bytes()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vgrs` (lib test) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vgrs` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "6ddff17e3c390fd8bff24c9d4f57520af2c80c1839f39e5d964044b44b9b0c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ddff17e3c390fd8bff24c9d4f57520af2c80c1839f39e5d964044b44b9b0c32", kill_on_drop: false }` [INFO] [stdout] 6ddff17e3c390fd8bff24c9d4f57520af2c80c1839f39e5d964044b44b9b0c32