[INFO] cloning repository https://github.com/XadillaX/zh-rust-by-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XadillaX/zh-rust-by-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXadillaX%2Fzh-rust-by-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXadillaX%2Fzh-rust-by-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e930ac171f2c6b2e97953462ce5cfcf2dd941a0a [INFO] checking XadillaX/zh-rust-by-example/e930ac171f2c6b2e97953462ce5cfcf2dd941a0a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXadillaX%2Fzh-rust-by-example" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XadillaX/zh-rust-by-example 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/XadillaX/zh-rust-by-example [INFO] finished tweaking git repo https://github.com/XadillaX/zh-rust-by-example [INFO] tweaked toml for git repo https://github.com/XadillaX/zh-rust-by-example written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/XadillaX/zh-rust-by-example 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: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v0.1.11 [INFO] [stderr] Downloaded rustc-serialize v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ba72062e38d66d3efd411ee87da97b81e153e7346bf8b486ae4ce61dd07c83c [INFO] running `Command { std: "docker" "start" "-a" "5ba72062e38d66d3efd411ee87da97b81e153e7346bf8b486ae4ce61dd07c83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ba72062e38d66d3efd411ee87da97b81e153e7346bf8b486ae4ce61dd07c83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba72062e38d66d3efd411ee87da97b81e153e7346bf8b486ae4ce61dd07c83c", kill_on_drop: false }` [INFO] [stdout] 5ba72062e38d66d3efd411ee87da97b81e153e7346bf8b486ae4ce61dd07c83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] d64e5cdfacac4f634f28111aa9531066080b224d52181e50749c550a3fe42438 [INFO] running `Command { std: "docker" "start" "-a" "d64e5cdfacac4f634f28111aa9531066080b224d52181e50749c550a3fe42438", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking regex v0.1.11 [INFO] [stderr] Checking rustc-serialize v0.2.10 [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:329:26 [INFO] [stdout] | [INFO] [stdout] 329 | s.emit_str(&self[]) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:783:46 [INFO] [stdout] | [INFO] [stdout] 783 | let text = re.replace_all(text, |&mut: refs: &Captures| -> String { [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1028:44 [INFO] [stdout] | [INFO] [stdout] 1028 | Json::String(ref s) => Some(&s[]), [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2123:63 [INFO] [stdout] | [INFO] [stdout] 2123 | let idx = match names.iter().position(|n| *n == &name[]) { [INFO] [stdout] | --- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 2123 | let idx = match names.iter().position(|n| { *n == &name[}]) { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `#`, `(`, `)`, `,`, `.`, `?`, `[`, `_`, `become`, `break`, `continue`, `for`, `if`, `let`, `loop`, `match`, `move`, `return`, `static`, `unsafe`, `while`, `yield`, `{`, `|`, `||`, an operator, or path, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2123:63 [INFO] [stdout] | [INFO] [stdout] 2123 | let idx = match names.iter().position(|n| *n == &name[]) { [INFO] [stdout] | ----- while parsing this `match` expression ^ expected one of 27 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:3348:43 [INFO] [stdout] | [INFO] [stdout] 3348 | let json_str = from_utf8(&mem_buf[]).unwrap(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:3364:43 [INFO] [stdout] | [INFO] [stdout] 3364 | let json_str = from_utf8(&mem_buf[]).unwrap(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:3404:45 [INFO] [stdout] | [INFO] [stdout] 3404 | let printed = from_utf8(&writer[]).unwrap(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `unicode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/lib.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | extern crate unicode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `unicode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate unicode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::borrow::IntoCow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::borrow::IntoCow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `IntoCow` in `borrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::string::CowString` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::string::CowString; [INFO] [stdout] | ^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `ToString` [INFO] [stdout] | no `CowString` in `string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::SliceExt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use std::slice::SliceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `SliceExt` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/compile.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Show, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Show, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Show, PartialEq, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Show, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `iter::range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:570:22 [INFO] [stdout] | [INFO] [stdout] 570 | for _ in iter::range(0, min) { [INFO] [stdout] | ^^^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 11 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] help: if you import `range`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 570 - for _ in iter::range(0, min) { [INFO] [stdout] 570 + for _ in range(0, min) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `iter::range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:578:22 [INFO] [stdout] | [INFO] [stdout] 578 | for _ in iter::range(0, min) { [INFO] [stdout] | ^^^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 11 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] help: if you import `range`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 578 - for _ in iter::range(0, min) { [INFO] [stdout] 578 + for _ in range(0, min) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `iter::range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:582:26 [INFO] [stdout] | [INFO] [stdout] 582 | for _ in iter::range(min, max.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 11 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] help: if you import `range`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 582 - for _ in iter::range(min, max.unwrap()) { [INFO] [stdout] 582 + for _ in range(min, max.unwrap()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str_radix` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 687 | match num::from_str_radix::(s.as_slice(), 8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str_radix` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:731:20 [INFO] [stdout] | [INFO] [stdout] 731 | match num::from_str_radix::(s, 16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | for i in range(0, clist.size) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:467:20 [INFO] [stdout] | [INFO] [stdout] 467 | queue: range(0, num_insts).map(|_| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `range` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:570:28 [INFO] [stdout] | [INFO] [stdout] 570 | for _ in iter::range(0, min) { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `range` is defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/mod.rs:464:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::collections::DList`, `std::collections::RingBuf`, `std::collections::VecMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::{DList, RingBuf, BTreeMap, BTreeSet, HashMap, HashSet, VecMap}; [INFO] [stdout] | ^^^^^ ^^^^^^^ no `RingBuf` in `collections` ^^^^^^ no `VecMap` in `collections` [INFO] [stdout] | | [INFO] [stdout] | no `DList` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_state` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use std::collections::hash_state::HashState; [INFO] [stdout] | ^^^^^^^^^^ could not find `hash_state` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `range` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | for _ in iter::range(0, min) { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `range` is defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/mod.rs:464:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `range` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:582:32 [INFO] [stdout] | [INFO] [stdout] 582 | for _ in iter::range(min, max.unwrap()) { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `range` is defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/mod.rs:464:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Int` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | use std::num::{Float, Int}; [INFO] [stdout] | ^^^^^ ^^^ no `Int` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:251:27 [INFO] [stdout] | [INFO] [stdout] 251 | use std::{char, f64, fmt, old_io, num, str}; [INFO] [stdout] | ^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:259:40 [INFO] [stdout] | [INFO] [stdout] 259 | #[derive(Clone, PartialEq, PartialOrd, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(Clone, Copy, 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/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | #[derive(Clone, 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/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | #[derive(Copy, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1145:28 [INFO] [stdout] | [INFO] [stdout] 1145 | #[derive(PartialEq, Clone, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1160:21 [INFO] [stdout] | [INFO] [stdout] 1160 | #[derive(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/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1189:28 [INFO] [stdout] | [INFO] [stdout] 1189 | #[derive(PartialEq, Clone, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1197:28 [INFO] [stdout] | [INFO] [stdout] 1197 | #[derive(PartialEq, Clone, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posix` in `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:541:26 [INFO] [stdout] | [INFO] [stdout] 541 | impl Encodable for path::posix::Path { [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posix` in `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:547:26 [INFO] [stdout] | [INFO] [stdout] 547 | impl Decodable for path::posix::Path { [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'r` is never used [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/compile.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | struct Compiler<'r> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'r`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posix` in `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:548:54 [INFO] [stdout] | [INFO] [stdout] 548 | fn decode(d: &mut D) -> Result { [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:554:26 [INFO] [stdout] | [INFO] [stdout] 554 | impl Encodable for path::windows::Path { [INFO] [stdout] | ^^^^^^^ could not find `windows` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:560:26 [INFO] [stdout] | [INFO] [stdout] 560 | impl Decodable for path::windows::Path { [INFO] [stdout] | ^^^^^^^ could not find `windows` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:561:54 [INFO] [stdout] | [INFO] [stdout] 561 | fn decode(d: &mut D) -> Result { [INFO] [stdout] | ^^^^^^^ could not find `windows` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | struct Parser<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MatchKind: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | impl Copy for MatchKind {} [INFO] [stdout] | ^^^^^^^^^ the trait `Clone` is not implemented for `MatchKind` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] help: consider annotating `MatchKind` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 52 + #[derive(Clone)] [INFO] [stdout] 53 | pub enum MatchKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StepState: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | impl Copy for StepState {} [INFO] [stdout] | ^^^^^^^^^ the trait `Clone` is not implemented for `StepState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] help: consider annotating `StepState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 98 + #[derive(Clone)] [INFO] [stdout] 99 | pub enum StepState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BuildAst` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:127:55 [INFO] [stdout] | [INFO] [stdout] 127 | _ => panic!("Cannot get flags from {:?}", self), [INFO] [stdout] | ^^^^ `BuildAst` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `BuildAst`, which is required by `&BuildAst: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `BuildAst` or manually `impl Debug for BuildAst` [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BuildAst` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | _ => panic!("Cannot get capture group from {:?}", self), [INFO] [stdout] | ^^^^ `BuildAst` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `BuildAst`, which is required by `&BuildAst: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `BuildAst` or manually `impl Debug for BuildAst` [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BuildAst` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:149:62 [INFO] [stdout] | [INFO] [stdout] 149 | _ => panic!("Cannot get capture name from {:?}", self), [INFO] [stdout] | ^^^^ `BuildAst` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `BuildAst`, which is required by `&BuildAst: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `BuildAst` or manually `impl Debug for BuildAst` [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BuildAst` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:163:63 [INFO] [stdout] | [INFO] [stdout] 163 | _ => panic!("Tried to unwrap non-AST item: {:?}", self), [INFO] [stdout] | ^^^^ `BuildAst` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `BuildAst` [INFO] [stdout] = note: add `#[derive(Debug)]` to `BuildAst` or manually `impl Debug for BuildAst` [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:464:22 [INFO] [stdout] | [INFO] [stdout] 464 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 17 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posix` in `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:550:18 [INFO] [stdout] | [INFO] [stdout] 550 | Ok(path::posix::Path::new(bytes)) [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use serialize::path::Path; [INFO] [stdout] | [INFO] [stdout] help: if you import `Path`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 550 - Ok(path::posix::Path::new(bytes)) [INFO] [stdout] 550 + Ok(Path::new(bytes)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:563:18 [INFO] [stdout] | [INFO] [stdout] 563 | Ok(path::windows::Path::new(bytes)) [INFO] [stdout] | ^^^^^^^ could not find `windows` in `path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use serialize::path::Path; [INFO] [stdout] | [INFO] [stdout] help: if you import `Path`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 563 - Ok(path::windows::Path::new(bytes)) [INFO] [stdout] 563 + Ok(Path::new(bytes)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/serialize.rs:644:22 [INFO] [stdout] | [INFO] [stdout] 644 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 17 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | for i in range(0, len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromError` in module `std::error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:416:18 [INFO] [stdout] | [INFO] [stdout] 416 | impl std::error::FromError for EncoderError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:423:29 [INFO] [stdout] | [INFO] [stdout] 423 | fn escape_str(wr: &mut fmt::Writer, v: &str) -> EncodeResult<()> { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:114:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:291:44 [INFO] [stdout] | [INFO] [stdout] 290 | self.err(format!("Expected {:?} but got EOF.", [INFO] [stdout] | __________________________- [INFO] [stdout] 291 | | expected).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:485:34 [INFO] [stdout] | [INFO] [stdout] 485 | fn escape_char(writer: &mut fmt::Writer, v: char) -> EncodeResult<()> { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:114:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:492:25 [INFO] [stdout] | [INFO] [stdout] 492 | fn spaces(wr: &mut fmt::Writer, n: u32) -> EncodeResult<()> { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:114:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:539:27 [INFO] [stdout] | [INFO] [stdout] 539 | writer: &'a mut (fmt::Writer+'a), [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:114:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:547:44 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn new_pretty(writer: &'a mut fmt::Writer) -> Encoder<'a> { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:114:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:560:37 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn new(writer: &'a mut fmt::Writer) -> Encoder<'a> { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:114:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1070:34 [INFO] [stdout] | [INFO] [stdout] 1070 | Json::U64(n) => num::cast(n), [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1079:34 [INFO] [stdout] | [INFO] [stdout] 1079 | Json::I64(n) => num::cast(n), [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1089:34 [INFO] [stdout] | [INFO] [stdout] 1089 | Json::I64(n) => num::cast(n), [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1090:34 [INFO] [stdout] | [INFO] [stdout] 1090 | Json::U64(n) => num::cast(n), [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1230:18 [INFO] [stdout] | [INFO] [stdout] 1230 | for i in range(0, rhs.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 237 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1240:18 [INFO] [stdout] | [INFO] [stdout] 1240 | for i in range(0, rhs.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 237 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:1251:18 [INFO] [stdout] | [INFO] [stdout] 1251 | for i in range(0, rhs.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 237 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2030 | read_primitive! { read_usize, usize } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2030 | read_primitive! { read_usize, usize } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2031 | read_primitive! { read_u8, u8 } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2031 | read_primitive! { read_u8, u8 } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2032 | read_primitive! { read_u16, u16 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2032 | read_primitive! { read_u16, u16 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2033 | read_primitive! { read_u32, u32 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2033 | read_primitive! { read_u32, u32 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2034 | read_primitive! { read_u64, u64 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2034 | read_primitive! { read_u64, u64 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2035 | read_primitive! { read_isize, isize } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2035 | read_primitive! { read_isize, isize } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:300:60 [INFO] [stdout] | [INFO] [stdout] 299 | true => self.err(format!("Expected '{}' but got '{}'.", [INFO] [stdout] | ______________________________- [INFO] [stdout] 300 | | expected, self.cur()).as_slice()), [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2036 | read_primitive! { read_i8, i8 } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2036 | read_primitive! { read_i8, i8 } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2037 | read_primitive! { read_i16, i16 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2037 | read_primitive! { read_i16, i16 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2038 | read_primitive! { read_i32, i32 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2038 | read_primitive! { read_i32, i32 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2002:44 [INFO] [stdout] | [INFO] [stdout] 2002 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2039 | read_primitive! { read_i64, i64 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2006:44 [INFO] [stdout] | [INFO] [stdout] 2006 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2039 | read_primitive! { read_i64, i64 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/json.rs:2415:19 [INFO] [stdout] | [INFO] [stdout] 2415 | impl<'a, 'b> fmt::Writer for FormatShim<'a, 'b> { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:114:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:303:44 [INFO] [stdout] | [INFO] [stdout] 302 | self.err(format!("Expected '{}' but got EOF.", [INFO] [stdout] | __________________________- [INFO] [stdout] 303 | | expected).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Ast` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:399:73 [INFO] [stdout] | [INFO] [stdout] 399 | ... panic!("Expected Class AST but got '{:?}'", ast), [INFO] [stdout] | ^^^ `Ast` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Ast` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Ast` or manually `impl Debug for Ast` [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Ast` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:414:69 [INFO] [stdout] | [INFO] [stdout] 414 | ast => panic!("Unexpected AST item '{:?}'", ast), [INFO] [stdout] | ^^^ `Ast` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Ast` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Ast` or manually `impl Debug for Ast` [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Ast` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:448:53 [INFO] [stdout] | [INFO] [stdout] 448 | ... ast).as_slice()), [INFO] [stdout] | ^^^ `Ast` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Ast` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Ast` or manually `impl Debug for Ast` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:448:58 [INFO] [stdout] | [INFO] [stdout] 447 | ... return self.err(format!("Expected a literal, but got {:?}.", [INFO] [stdout] | _______________________________________- [INFO] [stdout] 448 | | ... ast).as_slice()), [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |___________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:455:49 [INFO] [stdout] | [INFO] [stdout] 452 | return self.err(format!("Invalid character class \ [INFO] [stdout] | _____________________________________- [INFO] [stdout] 453 | | range '{}-{}'", [INFO] [stdout] 454 | | c, [INFO] [stdout] 455 | | c2).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:493:46 [INFO] [stdout] | [INFO] [stdout] 493 | match find_class(ASCII_CLASSES, name.as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:518:52 [INFO] [stdout] | [INFO] [stdout] 515 | return self.err(format!("No closing brace for counted \ [INFO] [stdout] | _____________________________________- [INFO] [stdout] 516 | | repetition starting at position \ [INFO] [stdout] 517 | | {}.", [INFO] [stdout] 518 | | start).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |___________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:528:47 [INFO] [stdout] | [INFO] [stdout] 528 | min = try!(self.parse_usize(inner.as_slice())); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:550:34 [INFO] [stdout] | [INFO] [stdout] 548 | return self.err(format!( [INFO] [stdout] | _____________________________- [INFO] [stdout] 549 | | "{} exceeds maximum allowed repetitions ({})", [INFO] [stdout] 550 | | min, MAX_REPEAT).as_slice()); [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |_________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | where K: Encodable + Hash< ::Hasher> + Eq, [INFO] [stdout] | ^^^^--------------------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | where K: Decodable + Hash< ::Hasher> + Eq, [INFO] [stdout] | ^^^^--------------------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | where T: Encodable + Hash< ::Hasher> + Eq, [INFO] [stdout] | ^^^^--------------------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.2.10/src/collection_impls.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | where T: Decodable + Hash< ::Hasher> + Eq, [INFO] [stdout] | ^^^^--------------------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:557:36 [INFO] [stdout] | [INFO] [stdout] 555 | return self.err(format!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 556 | | "{} exceeds maximum allowed repetitions ({})", [INFO] [stdout] 557 | | m, MAX_REPEAT).as_slice()); [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |___________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:562:50 [INFO] [stdout] | [INFO] [stdout] 560 | return self.err(format!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 561 | | "Max repetitions ({}) cannot be smaller than min \ [INFO] [stdout] 562 | | repetitions ({}).", m, min).as_slice()); [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |_________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:627:37 [INFO] [stdout] | [INFO] [stdout] 626 | self.err(format!("Invalid escape sequence '\\\\{}'", [INFO] [stdout] | __________________________- [INFO] [stdout] 627 | | c).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |____________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:647:37 [INFO] [stdout] | [INFO] [stdout] 645 | None => return self.err(format!( [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 646 | | "Missing '}}' for unclosed '{{' at position {}", [INFO] [stdout] 647 | | self.chari).as_slice()), [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |____________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:661:48 [INFO] [stdout] | [INFO] [stdout] 661 | match find_class(UNICODE_CLASSES, name.as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:664:47 [INFO] [stdout] | [INFO] [stdout] 663 | return self.err(format!("Could not find Unicode class '{}'", [INFO] [stdout] | _________________________________- [INFO] [stdout] 664 | | name).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |______________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:687:44 [INFO] [stdout] | [INFO] [stdout] 687 | match num::from_str_radix::(s.as_slice(), 8) { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:691:37 [INFO] [stdout] | [INFO] [stdout] 690 | self.err(format!("Could not parse '{}' as octal number.", [INFO] [stdout] | __________________________- [INFO] [stdout] 691 | | s).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |____________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:709:52 [INFO] [stdout] | [INFO] [stdout] 707 | return self.err(format!("Missing '}}' for unclosed \ [INFO] [stdout] | _____________________________________- [INFO] [stdout] 708 | | '{{' at position {}", [INFO] [stdout] 709 | | start).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |___________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0412, E0425, E0432, E0433, E0463, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:714:57 [INFO] [stdout] | [INFO] [stdout] 714 | self.parse_hex_digits(self.slice(start, closer).as_slice()) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:725:39 [INFO] [stdout] | [INFO] [stdout] 724 | try!(self.noteof(format!("Invalid hex escape sequence '{}'", [INFO] [stdout] | __________________________- [INFO] [stdout] 725 | | bad).as_slice())); [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |______________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 78 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:726:54 [INFO] [stdout] | [INFO] [stdout] 726 | self.parse_hex_digits(self.slice(start, end).as_slice()) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:735:37 [INFO] [stdout] | [INFO] [stdout] 734 | self.err(format!("Could not parse '{}' as hex number.", [INFO] [stdout] | __________________________- [INFO] [stdout] 735 | | s).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |____________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:761:43 [INFO] [stdout] | [INFO] [stdout] 760 | return self.err(format!("Duplicate capture group name '{}'.", [INFO] [stdout] | _____________________________- [INFO] [stdout] 761 | | name).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |__________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:793:64 [INFO] [stdout] | [INFO] [stdout] 791 | return self.err(format!( [INFO] [stdout] | _________________________________________- [INFO] [stdout] 792 | | "Cannot negate flags twice in '{}'.", [INFO] [stdout] 793 | | self.slice(start, self.chari + 1)).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |_______________________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:804:68 [INFO] [stdout] | [INFO] [stdout] 802 | ... return self.err(format!( [INFO] [stdout] | _______________________________________- [INFO] [stdout] 803 | | ... "A valid flag does not follow negation in '{}'", [INFO] [stdout] 804 | | ... self.slice(start, self.chari + 1)).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |_____________________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:816:60 [INFO] [stdout] | [INFO] [stdout] 815 | _ => return self.err(format!( [INFO] [stdout] | ______________________________________- [INFO] [stdout] 816 | | "Unrecognized flag '{}'.", self.cur()).as_slice()), [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:911:13 [INFO] [stdout] | [INFO] [stdout] 910 | match s.parse::() { [INFO] [stdout] | ------------------ this expression has type `Result` [INFO] [stdout] 911 | Some(i) => Ok(i), [INFO] [stdout] | ^^^^^^^ expected `Result`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 910 | match s.parse::() { [INFO] [stdout] | ------------------ this expression has type `Result` [INFO] [stdout] 911 | Some(i) => Ok(i), [INFO] [stdout] 912 | None => { [INFO] [stdout] | ^^^^ expected `Result`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:914:37 [INFO] [stdout] | [INFO] [stdout] 913 | self.err(format!("Expected an unsigned integer but got '{}'.", [INFO] [stdout] | __________________________- [INFO] [stdout] 914 | | s).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |____________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:925:37 [INFO] [stdout] | [INFO] [stdout] 923 | self.err(format!("Could not decode '{}' to unicode \ [INFO] [stdout] | __________________________- [INFO] [stdout] 924 | | character.", [INFO] [stdout] 925 | | n).as_slice()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |____________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 999 | match which.to_lowercase() { [INFO] [stdout] | -------------------- this expression has type `ToLowercase` [INFO] [stdout] 1000 | 'd' => PERLD.to_vec(), [INFO] [stdout] | ^^^ expected `ToLowercase`, found `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 999 | match which.to_lowercase() { [INFO] [stdout] | -------------------- this expression has type `ToLowercase` [INFO] [stdout] 1000 | 'd' => PERLD.to_vec(), [INFO] [stdout] 1001 | 's' => PERLS.to_vec(), [INFO] [stdout] | ^^^ expected `ToLowercase`, found `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 999 | match which.to_lowercase() { [INFO] [stdout] | -------------------- this expression has type `ToLowercase` [INFO] [stdout] ... [INFO] [stdout] 1002 | 'w' => PERLW.to_vec(), [INFO] [stdout] | ^^^ expected `ToLowercase`, found `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:530:65 [INFO] [stdout] | [INFO] [stdout] 530 | Dynamic(ExDynamic { ref original, .. }) => original.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&&'static str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:531:63 [INFO] [stdout] | [INFO] [stdout] 531 | Native(ExNative { ref original, .. }) => original.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `&&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_cow` found for reference `&str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:590:11 [INFO] [stdout] | [INFO] [stdout] 590 | s.into_cow() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 590 | s.into() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_cow` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:596:28 [INFO] [stdout] | [INFO] [stdout] 596 | caps.expand(*self).into_cow() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 596 | caps.expand(*self).into() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_cow` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:602:23 [INFO] [stdout] | [INFO] [stdout] 602 | (*self)(caps).into_cow() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 602 | (*self)(caps).into() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `parse::Error` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/re.rs:782:52 [INFO] [stdout] | [INFO] [stdout] 782 | let re = Regex::new(r"(^|[^$]|\b)\$(\w+)").unwrap(); [INFO] [stdout] | ^^^^^^ `parse::Error` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `parse::Error` [INFO] [stdout] = note: add `#[derive(Debug)]` to `parse::Error` or manually `impl Debug for parse::Error` [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:1096:5 [INFO] [stdout] help: consider annotating `parse::Error` with `#[derive(Debug)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/parse.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 + #[derive(Debug)] [INFO] [stdout] 35 | pub struct Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ToUppercase` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | || (casei && regc.to_uppercase() == textc.to_uppercase()) [INFO] [stdout] | ------------------- ^^ -------------------- ToUppercase [INFO] [stdout] | | [INFO] [stdout] | ToUppercase [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `ToUppercase` doesn't implement `PartialEq` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/char/mod.rs:490:1 [INFO] [stdout] ::: /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/char/mod.rs:498:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `casemappingiter_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_range_at_reverse` found for reference `&'t str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:391:35 [INFO] [stdout] | [INFO] [stdout] 391 | let prev = self.input.char_range_at_reverse(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&'t str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_range_at` found for reference `&'t str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:395:34 [INFO] [stdout] | [INFO] [stdout] 395 | let cur = self.input.char_range_at(ic); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&'t str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_range_at` found for reference `&'t str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 410 | let cur = self.input.char_range_at(self.next); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&'t str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 548 | fn class_cmp(casei: bool, mut textc: char, [INFO] [stdout] | ---- expected due to this parameter type [INFO] [stdout] ... [INFO] [stdout] 558 | textc = textc.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `char`, found `ToUppercase` [INFO] [stdout] | [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 558 - textc = textc.to_uppercase(); [INFO] [stdout] 558 + textc = textc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 549 | (mut start, mut end): (char, char)) -> Ordering { [INFO] [stdout] | --------- expected due to the type of this binding [INFO] [stdout] ... [INFO] [stdout] 559 | start = start.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `char`, found `ToUppercase` [INFO] [stdout] | [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 559 - start = start.to_uppercase(); [INFO] [stdout] 559 + start = start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-0.1.11/src/vm.rs:560:15 [INFO] [stdout] | [INFO] [stdout] 549 | (mut start, mut end): (char, char)) -> Ordering { [INFO] [stdout] | ------- expected due to the type of this binding [INFO] [stdout] ... [INFO] [stdout] 560 | end = end.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `char`, found `ToUppercase` [INFO] [stdout] | [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 560 - end = end.to_uppercase(); [INFO] [stdout] 560 + end = end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 78 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0392, E0423, E0425, E0432, E0463, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (lib) due to 79 previous errors [INFO] running `Command { std: "docker" "inspect" "d64e5cdfacac4f634f28111aa9531066080b224d52181e50749c550a3fe42438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64e5cdfacac4f634f28111aa9531066080b224d52181e50749c550a3fe42438", kill_on_drop: false }` [INFO] [stdout] d64e5cdfacac4f634f28111aa9531066080b224d52181e50749c550a3fe42438