[INFO] fetching crate doc_file 0.2.0...
[INFO] checking doc_file-0.2.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate doc_file 0.2.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate doc_file 0.2.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate doc_file 0.2.0
[INFO] finished tweaking crates.io crate doc_file 0.2.0
[INFO] tweaked toml for crates.io crate doc_file 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: support for rustc plugins has been removed from rustc. library `doc_file` should not specify `plugin = true`
[INFO] [stderr] warning: support for `plugin = true` will be removed from cargo in the future
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ac7733994d14da2751aa74ac8affece4c0b421f38241a118be04ba18e2ca783a
[INFO] running `Command { std: "docker" "start" "-a" "ac7733994d14da2751aa74ac8affece4c0b421f38241a118be04ba18e2ca783a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac7733994d14da2751aa74ac8affece4c0b421f38241a118be04ba18e2ca783a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac7733994d14da2751aa74ac8affece4c0b421f38241a118be04ba18e2ca783a", kill_on_drop: false }`
[INFO] [stdout] ac7733994d14da2751aa74ac8affece4c0b421f38241a118be04ba18e2ca783a
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b0b6c650bd51dddfde57f7c8b67f59f5ab3f38ce57a47f456cc4a8423c7a8ec
[INFO] running `Command { std: "docker" "start" "-a" "9b0b6c650bd51dddfde57f7c8b67f59f5ab3f38ce57a47f456cc4a8423c7a8ec", kill_on_drop: false }`
[INFO] [stderr] warning: support for rustc plugins has been removed from rustc. library `doc_file` should not specify `plugin = true`
[INFO] [stderr] warning: support for `plugin = true` will be removed from cargo in the future
[INFO] [stderr]     Checking doc_file v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found keyword `mod`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{mod, IoResult};
[INFO] [stdout]    |               ^^^ expected identifier, found keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `mod` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{r#mod, IoResult};
[INFO] [stdout]    |               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `mod`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{mod, IoResult};
[INFO] [stdout]    |               ^^^ expected identifier, found keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `mod` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{r#mod, IoResult};
[INFO] [stdout]    |               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]    --> src/lib.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let modifier = box expand_attr as Box<ItemModifier>;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let modifier = Box::new(expand_attr) as Box<ItemModifier>;
[INFO] [stdout]     |                    ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]    --> src/lib.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let modifier = box expand_attr as Box<ItemModifier>;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let modifier = Box::new(expand_attr) as Box<ItemModifier>;
[INFO] [stdout]     |                    ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(phase, plugin_registrar)]
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: plugins are no longer supported
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(phase, plugin_registrar)]
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: plugins are no longer supported
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a
[INFO] [stdout]   = help: please recompile that crate using --crate-type lib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.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 `syntax`
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate syntax;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `syntax`
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate syntax;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `log`
[INFO] [stdout]  --> src/lib.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `log`
[INFO] [stdout]  --> src/lib.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::error::FromError`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::error::FromError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::error::FromError`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::error::FromError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::r#mod`, `std::io::IoResult`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{mod, IoResult};
[INFO] [stdout]    |               ^^^  ^^^^^^^^
[INFO] [stdout]    |               |    |
[INFO] [stdout]    |               |    no `IoResult` in `io`
[INFO] [stdout]    |               |    help: a similar name exists in the module: `Result`
[INFO] [stdout]    |               no `r#mod` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]   --> src/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use std::io::File;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use std::fs::File;
[INFO] [stdout]    |         ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `phase` in this scope
[INFO] [stdout]  --> src/lib.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::r#mod`, `std::io::IoResult`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{mod, IoResult};
[INFO] [stdout]    |               ^^^  ^^^^^^^^
[INFO] [stdout]    |               |    |
[INFO] [stdout]    |               |    no `IoResult` in `io`
[INFO] [stdout]    |               |    help: a similar name exists in the module: `Result`
[INFO] [stdout]    |               no `r#mod` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]   --> src/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use std::io::File;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use std::fs::File;
[INFO] [stdout]    |         ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope
[INFO] [stdout]   --> src/lib.rs:99:3
[INFO] [stdout]    |
[INFO] [stdout] 99 | #[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: cannot find attribute `phase` in this scope
[INFO] [stdout]  --> src/lib.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope
[INFO] [stdout]   --> src/lib.rs:99:3
[INFO] [stdout]    |
[INFO] [stdout] 99 | #[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[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/lib.rs:30:48
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn extract_doc_path(meta: &MetaItem) -> Result<Path, AttrError> {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     Path::new_opt(path).ok_or(AttrError::Path)
[INFO] [stdout]    |                     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/lib.rs:47:43
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn slurp_doc_file(cx: &mut ExtCtxt, path: Path, sp: Span) -> IoResult<String> {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let source_path = Path::new(cx.codemap().span_to_filename(sp));
[INFO] [stdout]    |                       ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut file = try!(File::open(&path));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let path = try!(extract_doc_path(meta));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let doc_string = try!(slurp_doc_file(cx, path, sp));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `phase`
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(phase, plugin_registrar)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     IoError(io::IoError),
[INFO] [stdout]    |             ^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             use of undeclared crate or module `io`
[INFO] [stdout]    |             help: a builtin type with a similar name exists: `i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FromError<io::IoError> for AttrError {
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                use of undeclared crate or module `io`
[INFO] [stdout]    |                help: a builtin type with a similar name exists: `i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn from_error(e: io::IoError) -> AttrError {
[INFO] [stdout]    |                      ^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      use of undeclared crate or module `io`
[INFO] [stdout]    |                      help: a builtin type with a similar name exists: `i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0462, E0463, E0557, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/lib.rs:30:48
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn extract_doc_path(meta: &MetaItem) -> Result<Path, AttrError> {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     Path::new_opt(path).ok_or(AttrError::Path)
[INFO] [stdout]    |                     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/lib.rs:47:43
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn slurp_doc_file(cx: &mut ExtCtxt, path: Path, sp: Span) -> IoResult<String> {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let source_path = Path::new(cx.codemap().span_to_filename(sp));
[INFO] [stdout]    |                       ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut file = try!(File::open(&path));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let path = try!(extract_doc_path(meta));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let doc_string = try!(slurp_doc_file(cx, path, sp));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `phase`
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(phase, plugin_registrar)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `doc_file` (lib) due to 20 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     IoError(io::IoError),
[INFO] [stdout]    |             ^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             use of undeclared crate or module `io`
[INFO] [stdout]    |             help: a builtin type with a similar name exists: `i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FromError<io::IoError> for AttrError {
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                use of undeclared crate or module `io`
[INFO] [stdout]    |                help: a builtin type with a similar name exists: `i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn from_error(e: io::IoError) -> AttrError {
[INFO] [stdout]    |                      ^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      use of undeclared crate or module `io`
[INFO] [stdout]    |                      help: a builtin type with a similar name exists: `i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0462, E0463, E0557, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `doc_file` (lib test) due to 20 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9b0b6c650bd51dddfde57f7c8b67f59f5ab3f38ce57a47f456cc4a8423c7a8ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b0b6c650bd51dddfde57f7c8b67f59f5ab3f38ce57a47f456cc4a8423c7a8ec", kill_on_drop: false }`
[INFO] [stdout] 9b0b6c650bd51dddfde57f7c8b67f59f5ab3f38ce57a47f456cc4a8423c7a8ec
