[INFO] fetching crate windy 0.1.1... [INFO] checking windy-0.1.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate windy 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate windy 0.1.1 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 crates.io crate windy 0.1.1 [INFO] finished tweaking crates.io crate windy 0.1.1 [INFO] tweaked toml for crates.io crate windy 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate windy 0.1.1 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3da752ccf5fa036ca832c37492bef8c40e630cf0861832ed940ac22d8e638362 [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" "3da752ccf5fa036ca832c37492bef8c40e630cf0861832ed940ac22d8e638362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3da752ccf5fa036ca832c37492bef8c40e630cf0861832ed940ac22d8e638362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da752ccf5fa036ca832c37492bef8c40e630cf0861832ed940ac22d8e638362", kill_on_drop: false }` [INFO] [stdout] 3da752ccf5fa036ca832c37492bef8c40e630cf0861832ed940ac22d8e638362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c16b6de1d7e3590980ed7fd76ae8f04892ce3a081ab3732d955c012e991421e8 [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" "c16b6de1d7e3590980ed7fd76ae8f04892ce3a081ab3732d955c012e991421e8", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking windy v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stdout] error: cannot find macro `conv_err` in this scope [INFO] [stdout] --> tests/test.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(Err(conv_err!(@ansi ERROR_NO_UNICODE_TRANSLATION)), sw.to_astring()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `conv_err` in this scope [INFO] [stdout] --> tests/test.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(Err(conv_err!(@ansi ERROR_NO_UNICODE_TRANSLATION)), AString::try_from("スペシャルtest🍣")); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! wn { ($x:expr)=> (unsafe { WString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] ... [INFO] [stdout] 15 | let x = wn!(vec![]); // empty vec [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! wn { ($x:expr)=> (unsafe { WString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] ... [INFO] [stdout] 17 | let x = wn!(vec![0x00]); // empty vec [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! wn { ($x:expr)=> (unsafe { WString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] ... [INFO] [stdout] 19 | let x = wn!(vec![0x74, 0x65, 0x73, 0x74]); // test [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! wn { ($x:expr)=> (unsafe { WString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] ... [INFO] [stdout] 21 | let x = wn!(vec![0x74, 0x65, 0x73, 0x74, 0x00]); // test\0 [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! wn { ($x:expr)=> (unsafe { WString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] ... [INFO] [stdout] 23 | let x = wn!(vec![0x74, 0x65, 0x00, 0x73, 0x74]); // te\0st [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! wnc { ($x:expr)=>(unsafe { WString::new_c_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] ... [INFO] [stdout] 25 | let x = wnc!(vec![0x74, 0x00, 0x65, 0x00, 0x73, 0x00, 0x74, 0x00]); // test [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! wnc { ($x:expr)=>(unsafe { WString::new_c_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] ... [INFO] [stdout] 27 | let x = wnc!(vec![0x74, 0x00, 0x65, 0x00, 0x73, 0x00, 0x74, 0x00, 0x00]); // test\0 (odd) [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> benches/string.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | WString::try_from("Hello World!🍣食べたい").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! wnc { ($x:expr)=>(unsafe { WString::new_c_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] ... [INFO] [stdout] 29 | let x = wnc!(vec![0x74, 0x00, 0x65, 0x00, 0x73, 0x00, 0x74, 0x00, 0x00, 0x00]); // test\0\0 (even) [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> benches/string.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let s = WString::try_from("Hello World!🍣食べたい").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> benches/string.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let s = WString::try_from("Hello World").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(x, WString::try_from("test").unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> benches/string.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let s = AString::try_from("Hello World").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> benches/string.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | AString::try_from("Hello World").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_ne!(Ok(x), WString::try_from("Test")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> benches/string.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let s = AString::try_from("Hello World").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let s = WString::from_raw(x.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> benches/string.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let _ = WString::from_str_lossy("Hello World!🍣食べたい"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let s = WString::from_raw_s(x.as_mut_ptr(), 3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> benches/string.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let s = WString::try_from("Hello World!🍣食べたい").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let s = WString::from_raw_s(x.as_mut_ptr(), 4); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> benches/string.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let s = WString::try_from("Hello World").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> benches/string.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let s = AString::try_from("Hello World").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let s = WString::from_raw_s(x.as_mut_ptr(), 5); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> benches/string.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let _ = AString::from_str_lossy("Hello World!🍣食べたい"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let s = WString::from_raw_s(x.as_mut_ptr(), 6); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> benches/string.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let s = AString::try_from("Hello World").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let s = WString::clone_from_raw(x.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> benches/string.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windy::*` [INFO] [stdout] --> benches/string.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let s = WString::clone_from_raw_s(x.as_mut_ptr(), 3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let s = WString::clone_from_raw_s(x.as_mut_ptr(), 4); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let s = WString::clone_from_raw_s(x.as_mut_ptr(), 5); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let s = WString::clone_from_raw_s(x.as_mut_ptr(), 6); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! an { ($x:expr)=> (unsafe { AString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] ... [INFO] [stdout] 61 | let x = an!(vec![]); // empty vec [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! an { ($x:expr)=> (unsafe { AString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] ... [INFO] [stdout] 63 | let x = an!(vec![0x74, 0x65, 0x73, 0x74]); // test [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! an { ($x:expr)=> (unsafe { AString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] ... [INFO] [stdout] 65 | let x = an!(vec![0x74, 0x65, 0x73, 0x74, 0x00]); // test\0 [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! an { ($x:expr)=> (unsafe { AString::new_unchecked($x) });} [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] ... [INFO] [stdout] 67 | let x = an!(vec![0x74, 0x65, 0x00, 0x73, 0x74, 0x00]); // te\0st\0 [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(x, AString::try_from("te").unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | assert_ne!(Ok(x), AString::try_from("Te")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let s = AString::from_raw(x.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let s = AString::from_raw_s(x.as_mut_ptr(), 3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let s = AString::from_raw_s(x.as_mut_ptr(), 4); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let s = AString::from_raw_s(x.as_mut_ptr(), 5); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let s = AString::from_raw_s(x.as_mut_ptr(), 6); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windy` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let s = AString::clone_from_raw(x.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let s = AString::clone_from_raw_s(x.as_mut_ptr(), 3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [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[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | let s = AString::clone_from_raw_s(x.as_mut_ptr(), 4); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let s = AString::clone_from_raw_s(x.as_mut_ptr(), 5); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | let s = AString::clone_from_raw_s(x.as_mut_ptr(), 6); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let _ = AString::from_str_lossy("スペシャル").to_string_lossy(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | let sa = AString::try_from("test").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | let sw = WString::try_from("test").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:125:72 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(Err(conv_err!(@ansi ERROR_NO_UNICODE_TRANSLATION)), AString::try_from("スペシャルtest🍣")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | let sw = WString::try_from("スペシャルtest🍣").unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!("", &WString::try_from("").unwrap().to_string().unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!("", &WString::try_from("").unwrap().to_string_lossy()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!("", &WString::from_str_lossy("").to_string().unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!("", &WString::from_str_lossy("").to_string_lossy()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!("", &AString::try_from("").unwrap().to_string().unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!("", &AString::try_from("").unwrap().to_string_lossy()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!("", &AString::from_str_lossy("").to_string().unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!("", &AString::from_str_lossy("").to_string_lossy()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!("", &WString::from_str_lossy("").to_astring().unwrap().to_string_lossy()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WString` [INFO] [stdout] --> tests/test.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!("", &WString::from_str_lossy("").to_astring_lossy().to_string_lossy()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!("", &AString::from_str_lossy("").to_wstring().unwrap().to_string().unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AString` [INFO] [stdout] --> tests/test.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!("", &AString::from_str_lossy("").to_wstring_lossy().to_string().unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windy::*` [INFO] [stdout] --> tests/test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use windy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> tests/test.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c16b6de1d7e3590980ed7fd76ae8f04892ce3a081ab3732d955c012e991421e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16b6de1d7e3590980ed7fd76ae8f04892ce3a081ab3732d955c012e991421e8", kill_on_drop: false }` [INFO] [stdout] c16b6de1d7e3590980ed7fd76ae8f04892ce3a081ab3732d955c012e991421e8