[INFO] cloning repository https://github.com/DanielKeep/rust-scan-calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielKeep/rust-scan-calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielKeep%2Frust-scan-calc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielKeep%2Frust-scan-calc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8050e08426a9ce55212d136931220d93ca1feb8 [INFO] checking DanielKeep/rust-scan-calc/e8050e08426a9ce55212d136931220d93ca1feb8 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielKeep%2Frust-scan-calc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielKeep/rust-scan-calc 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 git repo https://github.com/DanielKeep/rust-scan-calc [INFO] finished tweaking git repo https://github.com/DanielKeep/rust-scan-calc [INFO] tweaked toml for git repo https://github.com/DanielKeep/rust-scan-calc written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DanielKeep/rust-scan-calc already has a lockfile, it will not be regenerated [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: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/main.rs` was erroneously implicitly accepted for binary `scan-calc`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/DanielKeep/rust-scan.git` [INFO] [stderr] Updating git repository `https://github.com/DanielKeep/rust-scan-util.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 080fcabfc921d3d376f67f2878355b083363dcdbf0facd91bb15b23db44e42b2 [INFO] running `Command { std: "docker" "start" "-a" "080fcabfc921d3d376f67f2878355b083363dcdbf0facd91bb15b23db44e42b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "080fcabfc921d3d376f67f2878355b083363dcdbf0facd91bb15b23db44e42b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080fcabfc921d3d376f67f2878355b083363dcdbf0facd91bb15b23db44e42b2", kill_on_drop: false }` [INFO] [stdout] 080fcabfc921d3d376f67f2878355b083363dcdbf0facd91bb15b23db44e42b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b93eb785ce21fcae41d4b7e5460984595bdc587304aa70469722575b469e691c [INFO] running `Command { std: "docker" "start" "-a" "b93eb785ce21fcae41d4b7e5460984595bdc587304aa70469722575b469e691c", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/main.rs` was erroneously implicitly accepted for binary `scan-calc`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking scan_util v0.5.5 (https://github.com/DanielKeep/rust-scan-util.git#1a13f784) [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/lib.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn len_while(s: &str, pred: |char| -> bool) -> Option { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `s` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:241:27 [INFO] [stdout] | [INFO] [stdout] 241 | let fs = |s:&str| -> F s.parse().unwrap(); [INFO] [stdout] | ^ expected `{` [INFO] [stdout] | [INFO] [stdout] help: try placing this code inside a block [INFO] [stdout] | [INFO] [stdout] 241 | let fs = |s:&str| -> F { s.parse().unwrap() }; [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$scan_fn:path` is followed by `->`, which is not allowed for `path` fragments [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | ($scan_fn:path -> $T:ty as $name:expr) => { [INFO] [stdout] | ^^ not allowed after `path` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/lib.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/compare_strs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Show; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{self, Show, Formatter}; [INFO] [stdout] | ^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::str::CharRange` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::CharRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `CharRange` in `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoError`, `std::io::IoResult`, `std::io::OtherIoError` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/io.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{IoError, IoResult, OtherIoError}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ no `OtherIoError` in `io` [INFO] [stdout] | | | [INFO] [stdout] | | no `IoResult` in `io` [INFO] [stdout] | no `IoError` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, IoResult, OtherIoError}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{IoError, Result, OtherIoError}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/lib.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | debug!("{}.expect_tok({})", self, s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | debug!("{}.pop_token()", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | debug!("{}.pop_token - sp token `{}`", self, s.escape_default()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | debug!("{}.pop_token - token `{}`", self, tok.escape_default()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 220 | debug!("{}.pop_token - no token", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:225:6 [INFO] [stdout] | [INFO] [stdout] 225 | debug!("{}.pop_token - def token `{}`", self, tok.escape_default()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | debug!("{}.pop_ws()", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:60:47 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:103:47 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:97:47 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:165:47 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Clone, Copy, Default, Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | fn consumed(&self) -> uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn slice_from(&self, from: uint) -> Self; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn str_slice_to(&self, to: uint) -> &'scanee str; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | fn expected_min_repeats(&self, min: uint, got: uint) -> ScanError { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:146:49 [INFO] [stdout] | [INFO] [stdout] 146 | fn expected_min_repeats(&self, min: uint, got: uint) -> ScanError { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | offset: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | offset: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Cursor<'a, Tok: Tokenizer, Sp: Whitespace, Cs: CompareStrs, uint> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | fn consumed(&self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | fn slice_from(&self, from: uint) -> Cursor<'a, Tok, Sp, Cs> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/cursor.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | fn str_slice_to(&self, to: uint) -> &'a str { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/io.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read_line(r: &mut R) -> IoResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EndOfFile` in module `std::io` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/io.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | if err.kind == ::std::io::EndOfFile && line.len() > 0 { [INFO] [stdout] | ^^^^^^^^^ not found in `std::io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/io.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn read_utf8_char(r: &mut R) -> IoResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/io.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | for _ in range(0u, n) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scan_error.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | OtherScanError(String, uint), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `std::io` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scan_error.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | ScanIoError(::std::io::IoError), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scan_error.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | OtherScanError(String, uint), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ScanError { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scan_error.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | impl fmt::Show for ScanError { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CharRange` in module `std::str` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | let ::std::str::CharRange { ch, next } = s.char_range_at(0); [INFO] [stdout] | ^^^^^^^^^ not found in `std::str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn next_char_at(s: &str, at: uint) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn next_char_at(s: &str, at: uint) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CharRange` in module `std::str` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | let ::std::str::CharRange { ch: _, next } = s.char_range_at(at); [INFO] [stdout] | ^^^^^^^^^ not found in `std::str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn scan_float(s: &str) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | pub fn scan_float(s: &str) -> Option { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:172:44 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn scan_uint<'a>(s: &'a str) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 172 | pub fn scan_uint<'a, uint>(s: &'a str) -> Option { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:184:43 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn scan_int<'a>(s: &'a str) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 184 | pub fn scan_int<'a, uint>(s: &'a str) -> Option { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Tokenizer: Eq + ::std::fmt::Show { [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | fn token_len(&self, s: &str) -> Option; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Tokenizer: Eq + ::std::fmt::Show { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn token_len(&self, s: &str) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | impl Tokenizer for WordsAndInts { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | fn token_len(&self, s: &str) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | impl Tokenizer for IdentsAndInts { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | fn token_len(&self, s: &str) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 106 | impl Tokenizer for SpaceDelimited { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/tokenizer.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | fn token_len(&self, s: &str) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 144 | impl Tokenizer for Explicit { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Whitespace: Eq + ::std::fmt::Show { [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn strip_len(&self, s: &str) -> uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | fn token_len<'a>(&self, _: &'a str) -> Option<(uint, &'a str)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Whitespace: Eq + ::std::fmt::Show { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn strip_len(&self, s: &str) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | fn strip_len(&self, s: &str) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | fn token_len<'a>(&self, s: &'a str) -> Option<(uint, &'a str)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 60 | impl Whitespace for ExplicitNewline { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | fn strip_len(&self, _: &str) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:105:49 [INFO] [stdout] | [INFO] [stdout] 105 | fn token_len<'a>(&self, s: &'a str) -> Option<(uint, &'a str)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 100 | impl Whitespace for Explicit { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | fn strip_len(&self, _: &str) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:142:49 [INFO] [stdout] | [INFO] [stdout] 142 | fn token_len<'a>(&self, s: &'a str) -> Option<(uint, &'a str)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 137 | impl Whitespace for ExplicitAny { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn strip_len(&self, _: &str) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/whitespace.rs:173:49 [INFO] [stdout] | [INFO] [stdout] 173 | fn token_len<'a>(&self, s: &'a str) -> Option<(uint, &'a str)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 168 | impl Whitespace for Exact { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/lib.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | fn len_while(s: &str, pred: |char| -> bool) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn len_while(s: &str, pred: |char| -> bool) -> Option { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CharRange` in module `std::str` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/lib.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let ::std::str::CharRange { ch: _, next } = s.char_range_at(i); [INFO] [stdout] | ^^^^^^^^^ not found in `std::str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/io.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | read_line(&mut ::std::io::stdio::stdin_raw()) [INFO] [stdout] | ^^^^^ --------- function `stdin_raw` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/io.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | for _ in range(0u, n) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/lib.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/scanner.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | fn scan>(cursor: &Cur) -> Result<(Self, Cur), ScanError>; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 52 | fn scan>(cursor: &Cur) -> Result<(Self, Cur), ScanError> where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pred` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-scan-util-26f80c5682685f3f/1a13f78/src/lib.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | .take_while(|&(_,ch)| pred(ch)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 75 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0405, E0412, E0422, E0425, E0432, E0463, E0603, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scan_util` (lib) due to 76 previous errors [INFO] running `Command { std: "docker" "inspect" "b93eb785ce21fcae41d4b7e5460984595bdc587304aa70469722575b469e691c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93eb785ce21fcae41d4b7e5460984595bdc587304aa70469722575b469e691c", kill_on_drop: false }` [INFO] [stdout] b93eb785ce21fcae41d4b7e5460984595bdc587304aa70469722575b469e691c