[INFO] cloning repository https://github.com/iwillspeak/rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwillspeak/rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwillspeak%2Frusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwillspeak%2Frusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2da75c18bf3d654d1d2f5541900ab5c9df209687 [INFO] testing iwillspeak/rusty against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwillspeak%2Frusty" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iwillspeak/rusty [INFO] finished tweaking git repo https://github.com/iwillspeak/rusty [INFO] tweaked toml for git repo https://github.com/iwillspeak/rusty written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iwillspeak/rusty on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iwillspeak/rusty 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.3.1 [INFO] [stderr] Downloaded libc v0.1.2 [INFO] [stderr] Downloaded rustlex v0.2.0 [INFO] [stderr] Downloaded docopt v0.6.45 [INFO] [stderr] Downloaded regex v0.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 253aaf2eea903825c6dffa6e590b49ae85ce6a6c342d59959814f1b0d058c366 [INFO] running `Command { std: "docker" "start" "-a" "253aaf2eea903825c6dffa6e590b49ae85ce6a6c342d59959814f1b0d058c366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "253aaf2eea903825c6dffa6e590b49ae85ce6a6c342d59959814f1b0d058c366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253aaf2eea903825c6dffa6e590b49ae85ce6a6c342d59959814f1b0d058c366", kill_on_drop: false }` [INFO] [stdout] 253aaf2eea903825c6dffa6e590b49ae85ce6a6c342d59959814f1b0d058c366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6a063415058453d0e62c6a0fbad061fccc8abf5372f2dcea8b9b51a428621ea [INFO] running `Command { std: "docker" "start" "-a" "c6a063415058453d0e62c6a0fbad061fccc8abf5372f2dcea8b9b51a428621ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling regex v0.1.18 [INFO] [stderr] Compiling libc v0.1.2 [INFO] [stderr] Compiling rustc-serialize v0.3.1 [INFO] [stderr] Compiling rustlex v0.2.0 [INFO] [stdout] error: expected identifier, found `"std"` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.1.2/rust/src/liblibc/lib.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(feature = "cargo-build")] extern crate "std" as core; [INFO] [stdout] | ^^^^^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libc` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar,rustc_private,collections,core)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.75.0; see for more information [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(quote)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.33.0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/caccb4d0368bd918ef6668af8e13834d07040417/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/caccb4d0368bd918ef6668af8e13834d07040417/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/caccb4d0368bd918ef6668af8e13834d07040417/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/caccb4d0368bd918ef6668af8e13834d07040417/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/caccb4d0368bd918ef6668af8e13834d07040417/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/caccb4d0368bd918ef6668af8e13834d07040417/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0364]: `No` is private, and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/nfa.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::Etrans::{No, One, Two, More}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: consider marking `No` as `pub` in the imported module [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/nfa.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::Etrans::{No, One, Two, More}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0364]: `One` is private, and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/nfa.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::Etrans::{No, One, Two, More}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: consider marking `One` as `pub` in the imported module [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/nfa.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::Etrans::{No, One, Two, More}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0364]: `Two` is private, and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/nfa.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::Etrans::{No, One, Two, More}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: consider marking `Two` as `pub` in the imported module [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/nfa.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::Etrans::{No, One, Two, More}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0364]: `More` is private, and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/nfa.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::Etrans::{No, One, Two, More}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider marking `More` as `pub` in the imported module [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/nfa.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::Etrans::{No, One, Two, More}; [INFO] [stdout] | ^^^^ [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-1949cf8c6b5b557f/regex-0.1.18/src/lib.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | extern crate unicode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/dfa.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | error!("action {} unreachable", action); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | ty: quote_ty!(&*cx, ::rustlex::rt::RustLexLexer), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | ty: quote_ty!(&*cx, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | info!("done!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | let match_expr = quote_expr!(&*cx, last_matching_action); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | let pat_expr = quote_expr!(&*cx, $i); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | let arm = cx.arm(sp, vec!(pat), quote_expr!(&*cx, (box $new_act) as Box _>)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | let def_act = quote_expr!(&*cx, Box::new(|lexer:&mut $ident| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | quote_expr!(&*cx, ::rustlex::rt::RustLexLexer::new(reader)))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | quote_expr!(&*cx, $initial))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:269:16 [INFO] [stdout] | [INFO] [stdout] 269 | items.push(quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/codegen.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | items.push(quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lexer.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | info!("building..."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lexer.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | info!("determinizing..."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lexer.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | info!("minimizing..."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lexer.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | info!("generating code..."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lib.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/lib.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar,rustc_private,collections,core)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RustLexPos: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustlex-0.2.0/src/rt.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `RustLexPos` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `RustLexPos` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 39 + #[derive(Clone)] [INFO] [stdout] 40 | pub struct RustLexPos { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0364, E0462, E0463, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `unicode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate unicode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustlex` (lib) due to 32 previous errors [INFO] [stdout] error[E0432]: unresolved import `std::borrow::IntoCow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-0.1.18/src/re.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::borrow::{IntoCow, Cow}; [INFO] [stdout] | ^^^^^^^ no `IntoCow` in `borrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::str::SearchStep` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-0.1.18/src/re.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{Pattern, Searcher, SearchStep}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `SearchStep` in `str` [INFO] [stdout] | help: a similar name exists in the module: `Searcher` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] std::str::pattern::SearchStep [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-1949cf8c6b5b557f/regex-0.1.18/src/parse.rs:681:20 [INFO] [stdout] | [INFO] [stdout] 681 | match num::from_str_radix::(&s, 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-1949cf8c6b5b557f/regex-0.1.18/src/parse.rs:722:20 [INFO] [stdout] | [INFO] [stdout] 722 | match num::from_str_radix::(s, 16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Pattern` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-0.1.18/src/re.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{Pattern, Searcher, SearchStep}; [INFO] [stdout] | ^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Pattern` is defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/str.rs:23:47 [INFO] [stdout] help: import `Pattern` directly [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{core::str::pattern::Pattern, Searcher, SearchStep}; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Searcher` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-0.1.18/src/re.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{Pattern, Searcher, SearchStep}; [INFO] [stdout] | ^^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Searcher` is defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/str.rs:23:73 [INFO] [stdout] help: import `Searcher` directly [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{Pattern, core::str::pattern::Searcher, SearchStep}; [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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/serialize.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-0.1.18/src/lib.rs:374:18 [INFO] [stdout] | [INFO] [stdout] 374 | #![feature(core, unicode)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ffi::AsOsStr` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/serialize.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ffi::{AsOsStr, OsString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsOsStr` in `ffi` [INFO] [stdout] | help: a similar name exists in the module: `OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/serialize.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | use std::old_path::{PosixPath, WindowsPath}; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::unix::OsStrExt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/serialize.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | use std::os::unix::OsStrExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `OsStrExt` in `os::unix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 572 | use std::os::unix::prelude::OsStrExt; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::unix::OsStringExt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/serialize.rs:592:13 [INFO] [stdout] | [INFO] [stdout] 592 | use std::os::unix::OsStringExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OsStringExt` in `os::unix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 592 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::VecMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/collection_impls.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::{LinkedList, VecDeque, BTreeMap, BTreeSet, HashMap, HashSet, VecMap}; [INFO] [stdout] | ^^^^^^ no `VecMap` 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/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[E0432]: unresolved imports `std::num::Float`, `std::num::Int` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | 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[E0277]: the trait bound `MatchKind: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-0.1.18/src/vm.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | 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/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `MatchKind` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(Clone)] [INFO] [stdout] 55 | pub enum MatchKind { [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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | impl std::error::FromError for EncoderError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::error` [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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:1095:34 [INFO] [stdout] | [INFO] [stdout] 1095 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:1104:34 [INFO] [stdout] | [INFO] [stdout] 1104 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:1114:34 [INFO] [stdout] | [INFO] [stdout] 1114 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:1115:34 [INFO] [stdout] | [INFO] [stdout] 1115 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2059 | 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[E0277]: the trait bound `StepState: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-0.1.18/src/vm.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | 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/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `StepState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 100 + #[derive(Clone)] [INFO] [stdout] 101 | pub enum StepState { [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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2059 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2060 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2060 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2061 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2061 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2062 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2062 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2063 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2063 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2064 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2064 | 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] Some errors have detailed explanations: E0277, E0425, E0432, E0463, E0603, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2065 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2065 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2066 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2066 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2067 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2067 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2068 | 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-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2068 | 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] [stderr] error: could not compile `regex` (lib) due to 10 previous errors [INFO] [stdout] error[E0635]: unknown feature `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/lib.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/lib.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/lib.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `std_misc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/lib.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `old_path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/lib.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CharacterSet: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/base64.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `CharacterSet` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `CharacterSet` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(Clone)] [INFO] [stdout] 24 | pub enum CharacterSet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Newline: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/base64.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Newline` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `Newline` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(Clone)] [INFO] [stdout] 33 | pub enum Newline { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/base64.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Copy)] [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Clone` is not implemented for `Config` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/base64.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FromBase64Error: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/base64.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `FromBase64Error` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `FromBase64Error` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 182 + #[derive(Clone)] [INFO] [stdout] 183 | pub enum FromBase64Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FromHexError: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/hex.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `FromHexError` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `FromHexError` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 66 + #[derive(Clone)] [INFO] [stdout] 67 | pub enum FromHexError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncoderError: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | #[derive(Copy, Debug)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `EncoderError` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `EncoderError` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 324 + #[derive(Clone)] [INFO] [stdout] 325 | pub enum EncoderError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `index` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:1153:26 [INFO] [stdout] | [INFO] [stdout] 1153 | fn index(&self, idx: & &str) -> &Json { [INFO] [stdout] | ^^^^^^ expected `str`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Json, &'a _) -> &Json` [INFO] [stdout] found signature `fn(&Json, &&_) -> &Json` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 1153 - fn index(&self, idx: & &str) -> &Json { [INFO] [stdout] 1153 + fn index(&self, idx: &'a str) -> &Json { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `index` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.1/src/json.rs:1161:33 [INFO] [stdout] | [INFO] [stdout] 1161 | fn index<'a>(&'a self, idx: &usize) -> &'a Json { [INFO] [stdout] | ^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Json, _) -> &Json` [INFO] [stdout] found signature `fn(&Json, &_) -> &Json` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 1161 - fn index<'a>(&'a self, idx: &usize) -> &'a Json { [INFO] [stdout] 1161 + fn index<'a>(&'a self, idx: usize) -> &'a Json { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0405, E0425, E0432, E0463, E0635, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 48 previous errors [INFO] running `Command { std: "docker" "inspect" "c6a063415058453d0e62c6a0fbad061fccc8abf5372f2dcea8b9b51a428621ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a063415058453d0e62c6a0fbad061fccc8abf5372f2dcea8b9b51a428621ea", kill_on_drop: false }` [INFO] [stdout] c6a063415058453d0e62c6a0fbad061fccc8abf5372f2dcea8b9b51a428621ea