[INFO] crate pascal_string 0.4.0 is already in cache [INFO] testing pascal_string-0.4.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate pascal_string 0.4.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate pascal_string 0.4.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pascal_string 0.4.0 [INFO] finished tweaking crates.io crate pascal_string 0.4.0 [INFO] tweaked toml for crates.io crate pascal_string 0.4.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07e91d05793b50cbefdbbb56f8bca0ed9736aa891b2fb57fe8d75a13380fa26f [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" "07e91d05793b50cbefdbbb56f8bca0ed9736aa891b2fb57fe8d75a13380fa26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07e91d05793b50cbefdbbb56f8bca0ed9736aa891b2fb57fe8d75a13380fa26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e91d05793b50cbefdbbb56f8bca0ed9736aa891b2fb57fe8d75a13380fa26f", kill_on_drop: false }` [INFO] [stdout] 07e91d05793b50cbefdbbb56f8bca0ed9736aa891b2fb57fe8d75a13380fa26f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b84aeb168b5377c2dc5a7d7a3309c64d9b8a7eaccf1d3e755c1decafc8262a4 [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" "7b84aeb168b5377c2dc5a7d7a3309c64d9b8a7eaccf1d3e755c1decafc8262a4", kill_on_drop: false }` [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling pascal_string v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/pascal_string.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pstring[i] = try!(AsciiChar::from(char_array[i].clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/pascal_string.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let ascii = try!(AsciiStr::from_ascii(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/pascal_string.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | self._try_push(try!(AsciiChar::from(character))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/pascal_string.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | let ascii: &[AsciiChar] = try!(AsciiStr::from_ascii(s)).as_ref(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pascal_string.rs:561:32 [INFO] [stdout] | [INFO] [stdout] 561 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pascal_string.rs:603:32 [INFO] [stdout] | [INFO] [stdout] 603 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pascal_string.rs:645:32 [INFO] [stdout] | [INFO] [stdout] 645 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | impl AsciiExt for PascalStr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 282 | impl AsciiExt for PascalString { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::Owned': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | fn to_ascii_uppercase(&self) -> Self::Owned { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::Owned': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | fn to_ascii_lowercase(&self) -> Self::Owned { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::Owned': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:289:37 [INFO] [stdout] | [INFO] [stdout] 289 | fn to_ascii_uppercase(&self) -> Self::Owned { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::Owned': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | fn to_ascii_lowercase(&self) -> Self::Owned { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::make_ascii_uppercase': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | upper.make_ascii_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::make_ascii_lowercase': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | lower.make_ascii_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::eq_ignore_ascii_case': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | self.string.eq_ignore_ascii_case(&other.string) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::make_ascii_uppercase': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | self.string.make_ascii_uppercase() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::make_ascii_lowercase': use inherent methods instead [INFO] [stdout] --> src/pascal_str.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | self.string.make_ascii_lowercase() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: arrays only have std trait implementations for lengths 0..=32 [INFO] [stdout] --> src/pascal_string.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | chars: [AsciiChar; PASCAL_STRING_BUF_SIZE] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[ascii::AsciiChar; 255]` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::cmp::Eq` for `[ascii::AsciiChar; 255]` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::make_ascii_uppercase': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | upper.make_ascii_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::make_ascii_lowercase': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | lower.make_ascii_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::eq_ignore_ascii_case': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:302:59 [INFO] [stdout] | [INFO] [stdout] 302 | self.chars().zip(other.chars()).all(|(c0, c1)| c0.eq_ignore_ascii_case(&c1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::make_ascii_uppercase': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | c.make_ascii_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt::make_ascii_lowercase': use inherent methods instead [INFO] [stdout] --> src/pascal_string.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 315 | c.make_ascii_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/pascal_string.rs:450:52 [INFO] [stdout] | [INFO] [stdout] 450 | let array_ptr = (&mut array as *mut _).offset(1) as *mut [u8; PASCAL_STRING_BUF_SIZE]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/pascal_string.rs:547:68 [INFO] [stdout] | [INFO] [stdout] 547 | PascalStringCreateError::InputTooLong => fmtr.pad(self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/pascal_string.rs:548:90 [INFO] [stdout] | [INFO] [stdout] 548 | PascalStringCreateError::NotValidAscii(ref e) => write!(fmtr, "{}: {}", self.description(), e) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/pascal_string.rs:589:62 [INFO] [stdout] | [INFO] [stdout] 589 | PascalStringAppendError::NoRoom => fmtr.pad(self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/pascal_string.rs:590:90 [INFO] [stdout] | [INFO] [stdout] 590 | PascalStringAppendError::NotValidAscii(ref e) => write!(fmtr, "{}: {}", self.description(), e) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/pascal_string.rs:631:68 [INFO] [stdout] | [INFO] [stdout] 631 | AsciiError::Char(ref e) => write!(fmtr, "{}: {}", self.description(), e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/pascal_string.rs:632:67 [INFO] [stdout] | [INFO] [stdout] 632 | AsciiError::Str(ref e) => write!(fmtr, "{}: {}", self.description(), e) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pascal_string`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7b84aeb168b5377c2dc5a7d7a3309c64d9b8a7eaccf1d3e755c1decafc8262a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b84aeb168b5377c2dc5a7d7a3309c64d9b8a7eaccf1d3e755c1decafc8262a4", kill_on_drop: false }` [INFO] [stdout] 7b84aeb168b5377c2dc5a7d7a3309c64d9b8a7eaccf1d3e755c1decafc8262a4