[INFO] fetching crate whisper 0.1.11... [INFO] checking whisper-0.1.11 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate whisper 0.1.11 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate whisper 0.1.11 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate whisper 0.1.11 [INFO] finished tweaking crates.io crate whisper 0.1.11 [INFO] tweaked toml for crates.io crate whisper 0.1.11 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (available: v1.1.3) [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding memchr v0.1.11 (available: v2.7.4) [INFO] [stderr] Adding regex v0.1.80 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (available: v0.8.4) [INFO] [stderr] Adding strsim v0.5.2 (available: v0.11.1) [INFO] [stderr] Adding thread-id v2.0.0 (available: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (available: v1.1.8) [INFO] [stderr] Adding utf8-ranges v0.1.3 (available: v1.0.5) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd76ed3996cc92d6dc3b51f1da138401da85ec18111e0801c9b18aaa406e193 [INFO] running `Command { std: "docker" "start" "-a" "6fd76ed3996cc92d6dc3b51f1da138401da85ec18111e0801c9b18aaa406e193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd76ed3996cc92d6dc3b51f1da138401da85ec18111e0801c9b18aaa406e193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd76ed3996cc92d6dc3b51f1da138401da85ec18111e0801c9b18aaa406e193", kill_on_drop: false }` [INFO] [stdout] 6fd76ed3996cc92d6dc3b51f1da138401da85ec18111e0801c9b18aaa406e193 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b3d03b89a5dd3cbcb366fcb0f116662742519fd7540a944e979b522f2ad6e95 [INFO] running `Command { std: "docker" "start" "-a" "1b3d03b89a5dd3cbcb366fcb0f116662742519fd7540a944e979b522f2ad6e95", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking whisper v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `memmap::Protection` [INFO] [stdout] --> src/whisper/file/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use memmap::{ Mmap, Protection }; [INFO] [stdout] | ^^^^^^^^^^ no `Protection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::MmapViewSync` [INFO] [stdout] --> src/whisper/file/header.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use memmap::MmapViewSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `MmapViewSync` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::Protection` [INFO] [stdout] --> src/whisper/file/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use memmap::{ Mmap, Protection }; [INFO] [stdout] | ^^^^^^^^^^ no `Protection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/whisper/file/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use self::libc::funcs::posix01::unistd::ftruncate; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::MmapViewSync` [INFO] [stdout] --> src/whisper/file/header.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use memmap::MmapViewSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `MmapViewSync` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::MmapViewSync` [INFO] [stdout] --> src/whisper/file/archive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use memmap::MmapViewSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `MmapViewSync` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::MmapViewSync` [INFO] [stdout] --> src/whisper/file/archive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use memmap::MmapViewSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `MmapViewSync` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/whisper/file/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use self::libc::funcs::posix01::unistd::ftruncate; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/whisper/cache/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::{ PathExt, DirBuilder }; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::Protection` [INFO] [stdout] --> src/whisper/file/archive.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | use memmap::{ Mmap, Protection }; [INFO] [stdout] | ^^^^^^^^^^ no `Protection` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] whisper::file::Protection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::Protection` [INFO] [stdout] --> src/whisper/file/mod.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | use memmap::{ Mmap, Protection }; [INFO] [stdout] | ^^^^^^^^^^ no `Protection` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] whisper::file::Protection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/whisper/cache/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::{ PathExt, DirBuilder }; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/whisper/file/archive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | try!(write!(f, "Meta data: [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | try!(write!(f, "Archive {} info: [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write!(f, "{}: {}, {}\n", points_index, point.0, point.1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut opened_file = try!(OpenOptions::new().read(true).write(true).create(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | try!( opened_file.write_u32::( header.aggregation_type.to_u32() )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | try!( opened_file.write_u32::( header.max_retention ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | try!( opened_file.write_f32::( header.x_files_factor ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | try!( opened_file.write_u32::( schema.retention_policies.len() as u32 ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | try!( opened_file.write_u32::( archive_offset as u32 ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | try!( opened_file.write_u32::( retention_policy.precision ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | try!( opened_file.write_u32::( retention_policy.points() ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/whisper/point.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{ Write, Cursor }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | let retention_matcher = regex::Regex::new({r"^(\d+)([smhdwy])?:(\d+)([smhdwy])?$"}).unwrap(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 25 - let retention_matcher = regex::Regex::new({r"^(\d+)([smhdwy])?:(\d+)([smhdwy])?$"}).unwrap(); [INFO] [stdout] 25 + let retention_matcher = regex::Regex::new(r"^(\d+)([smhdwy])?:(\d+)([smhdwy])?$").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/whisper/cache/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/cache/mod.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let cache_entry = try!( self.get(metric_rel_path) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/cache/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | try!( WhisperFile::new(&path_on_disk, &self.schema) ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/cache/mod.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | try!( DirBuilder::new().recursive(true).create( path_on_disk.parent().unwrap() ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/whisper/file/archive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | try!(write!(f, "Meta data: [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | try!(write!(f, "Archive {} info: [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write!(f, "{}: {}, {}\n", points_index, point.0, point.1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut opened_file = try!(OpenOptions::new().read(true).write(true).create(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | try!( opened_file.write_u32::( header.aggregation_type.to_u32() )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | try!( opened_file.write_u32::( header.max_retention ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | try!( opened_file.write_f32::( header.x_files_factor ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | try!( opened_file.write_u32::( schema.retention_policies.len() as u32 ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | try!( opened_file.write_u32::( archive_offset as u32 ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | try!( opened_file.write_u32::( retention_policy.precision ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/file/mod.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | try!( opened_file.write_u32::( retention_policy.points() ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/whisper/file/mod.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | use std::path::{ Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/whisper/point.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{ Write, Cursor }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `dir_builder` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, path_ext, dir_builder)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | let retention_matcher = regex::Regex::new({r"^(\d+)([smhdwy])?:(\d+)([smhdwy])?$"}).unwrap(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 25 - let retention_matcher = regex::Regex::new({r"^(\d+)([smhdwy])?:(\d+)([smhdwy])?$"}).unwrap(); [INFO] [stdout] 25 + let retention_matcher = regex::Regex::new(r"^(\d+)([smhdwy])?:(\d+)([smhdwy])?$").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `path_ext` has been stable since 1.5.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, path_ext, dir_builder)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/whisper/cache/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/whisper/cache/named_point.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/cache/mod.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let cache_entry = try!( self.get(metric_rel_path) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/cache/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | try!( WhisperFile::new(&path_on_disk, &self.schema) ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/whisper/cache/mod.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | try!( DirBuilder::new().recursive(true).create( path_on_disk.parent().unwrap() ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/whisper/cache/mod.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | use whisper::{ WhisperCache, NamedPoint, Schema, Point }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `dir_builder` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, path_ext, dir_builder)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `path_ext` has been stable since 1.5.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, path_ext, dir_builder)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/whisper/file/header.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | archives.push(Archive::new(info.0, info.1, this_archive)); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/whisper/file/archive.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Archive { [INFO] [stdout] | ------------------ doesn't satisfy `Archive: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Archive: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/whisper/file/header.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | archives.push(Archive::new(info.0, info.1, this_archive)); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/whisper/file/archive.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Archive { [INFO] [stdout] | ------------------ doesn't satisfy `archive::Archive: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `archive::Archive: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/whisper/file/header.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | archives.push( Archive::new(archive_last[0].0, archive_last[0].1, archive_data)); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/whisper/file/archive.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Archive { [INFO] [stdout] | ------------------ doesn't satisfy `archive::Archive: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `archive::Archive: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/whisper/file/header.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | archives.push( Archive::new(archive_last[0].0, archive_last[0].1, archive_data)); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/whisper/file/archive.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Archive { [INFO] [stdout] | ------------------ doesn't satisfy `Archive: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Archive: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/whisper/file/header.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | archives.push( archive ); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/whisper/file/archive.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Archive { [INFO] [stdout] | ------------------ doesn't satisfy `archive::Archive: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `archive::Archive: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/whisper/file/header.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | archives.push( archive ); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/whisper/file/archive.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Archive { [INFO] [stdout] | ------------------ doesn't satisfy `Archive: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Archive: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `anonymous` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/archive.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | let mut anon_mmap = Mmap::anonymous(archive_data.len(), Protection::ReadWrite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Mmap` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mmap`, consider using `Mmap::map` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/memmap-0.7.0/src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn map(file: &File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/whisper/file/mod.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | let mut offset = Header::archives_start(self.archives.len()); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/whisper/file/archive.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Archive { [INFO] [stdout] | ------------------ doesn't satisfy `Archive: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Archive: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_view_sync` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/archive.rs:213:32 [INFO] [stdout] | [INFO] [stdout] 213 | let anon_view = build_mmap().into_view_sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | let max_points = self.archives.iter().map(|x| x.points()).max().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_view_sync` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/archive.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | let mut anon_view = build_mmap().into_view_sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/whisper/file/mod.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | let mut offset = Header::archives_start(self.archives.len()); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/whisper/file/archive.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Archive { [INFO] [stdout] | ------------------ doesn't satisfy `archive::Archive: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `archive::Archive: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | let max_points = self.archives.iter().map(|x| x.points()).max().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&Vec` is not an iterator [INFO] [stdout] --> src/whisper/file/mod.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | for archive in &self.archives { [INFO] [stdout] | ^^^^^^^^^^^^^^ `&Vec` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `&Vec` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a Vec [INFO] [stdout] &'a mut Vec [INFO] [stdout] Vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&Vec` is not an iterator [INFO] [stdout] --> src/whisper/file/mod.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | for archive in &self.archives { [INFO] [stdout] | ^^^^^^^^^^^^^^ `&Vec` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `&Vec` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a Vec [INFO] [stdout] &'a mut Vec [INFO] [stdout] Vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&_` [INFO] [stdout] --> src/whisper/file/mod.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write!(f, "{}: {}, {}\n", points_index, point.0, point.1)); [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&_` [INFO] [stdout] --> src/whisper/file/mod.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write!(f, "{}: {}, {}\n", points_index, point.0, point.1)); [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let mmap = Mmap::open(&opened_file, Protection::ReadWrite ).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Mmap` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mmap`, consider using `Mmap::map` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/memmap-0.7.0/src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn map(file: &File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let mmap = Mmap::open(&opened_file, Protection::ReadWrite ).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Mmap` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mmap`, consider using `Mmap::map` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/memmap-0.7.0/src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn map(file: &File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open_path` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let mmap = Mmap::open_path(path, Protection::ReadWrite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Mmap` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mmap`, consider using `Mmap::map` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/memmap-0.7.0/src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn map(file: &File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open_path` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let mmap = Mmap::open_path(path, Protection::ReadWrite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Mmap` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mmap`, consider using `Mmap::map` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/memmap-0.7.0/src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn map(file: &File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_view_sync` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let mmap_view = mmap.into_view_sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Vec` [INFO] [stdout] --> src/whisper/file/mod.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | self.archives[0].write(&point); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_view_sync` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let mmap_view = mmap.into_view_sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Vec` [INFO] [stdout] --> src/whisper/file/mod.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | self.archives[0].write(&point); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&Vec` is not an iterator [INFO] [stdout] --> src/whisper/file/mod.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | for archive in &self.archives { [INFO] [stdout] | ^^^^^^^^^^^^^^ `&Vec` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `&Vec` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a Vec [INFO] [stdout] &'a mut Vec [INFO] [stdout] Vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&Vec` is not an iterator [INFO] [stdout] --> src/whisper/file/mod.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | for archive in &self.archives { [INFO] [stdout] | ^^^^^^^^^^^^^^ `&Vec` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `&Vec` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a Vec [INFO] [stdout] &'a mut Vec [INFO] [stdout] Vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `anonymous` found for struct `Mmap` in the current scope [INFO] [stdout] --> src/whisper/file/mod.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | let mut anon_mmap = Mmap::anonymous(SAMPLE_FILE.len(), Protection::ReadWrite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Mmap` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mmap`, consider using `Mmap::map` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/memmap-0.7.0/src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn map(file: &File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures` in the current scope [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | let precision_opt = regex_match.at(1); [INFO] [stdout] | ^^ method not found in `Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures` in the current scope [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | let precision_opt = regex_match.at(1); [INFO] [stdout] | ^^ method not found in `Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures` in the current scope [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let precision_mult = regex_match.at(2).unwrap_or("s"); [INFO] [stdout] | ^^ method not found in `Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures` in the current scope [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let precision_mult = regex_match.at(2).unwrap_or("s"); [INFO] [stdout] | ^^ method not found in `Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures` in the current scope [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let retention_opt = regex_match.at(3); [INFO] [stdout] | ^^ method not found in `Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures` in the current scope [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let retention_opt = regex_match.at(3); [INFO] [stdout] | ^^ method not found in `Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures` in the current scope [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let retention_mult = regex_match.at(4); [INFO] [stdout] | ^^ method not found in `Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures` in the current scope [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let retention_mult = regex_match.at(4); [INFO] [stdout] | ^^ method not found in `Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::lines_any`: use lines() instead now [INFO] [stdout] --> src/whisper/cache/named_point.rs:26:70 [INFO] [stdout] | [INFO] [stdout] 26 | let parsed_lines : Vec> = datagram.lines_any().map(|x| NamedPoint::parse_line(x) ).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 26 | let parsed_lines : Vec> = datagram.lines().map(|x| NamedPoint::parse_line(x) ).collect(); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::lines_any`: use lines() instead now [INFO] [stdout] --> src/whisper/cache/named_point.rs:26:70 [INFO] [stdout] | [INFO] [stdout] 26 | let parsed_lines : Vec> = datagram.lines_any().map(|x| NamedPoint::parse_line(x) ).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 26 | let parsed_lines : Vec> = datagram.lines().map(|x| NamedPoint::parse_line(x) ).collect(); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/whisper/file/header.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ ByteOrder, BigEndian, ReadBytesExt }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/whisper/file/mod.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{ ByteOrder, BigEndian, WriteBytesExt }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ ByteOrder, BigEndian, WriteBytesExt }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/whisper/file/archive.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | let mut point_slice = &mut self.mut_slice()[start .. end]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/whisper/file/header.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ ByteOrder, BigEndian, ReadBytesExt }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/whisper/file/archive.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 172 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/whisper/file/mod.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{ ByteOrder, BigEndian, WriteBytesExt }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/whisper/file/mod.rs:173:6 [INFO] [stdout] | [INFO] [stdout] 173 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/whisper/schema/retention_policy.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ ByteOrder, BigEndian, WriteBytesExt }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/whisper/file/archive.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | let mut data_needed = points.len()*point::POINT_SIZE as usize; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/whisper/file/archive.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | let mut point_slice = &mut self.mut_slice()[start .. end]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/whisper/file/archive.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | let mut data_needed = points.len()*point::POINT_SIZE as usize; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0608, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_time` [INFO] [stdout] --> src/whisper/cache/mod.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | let current_time = 1434598525; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `whisper` (lib) due to 22 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 27 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0608, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `whisper` (lib test) due to 28 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b3d03b89a5dd3cbcb366fcb0f116662742519fd7540a944e979b522f2ad6e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3d03b89a5dd3cbcb366fcb0f116662742519fd7540a944e979b522f2ad6e95", kill_on_drop: false }` [INFO] [stdout] 1b3d03b89a5dd3cbcb366fcb0f116662742519fd7540a944e979b522f2ad6e95