[INFO] fetching crate doc_file 0.2.0... [INFO] testing doc_file-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate doc_file 0.2.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate doc_file 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c9f058f169ae19515ed4f73257fdf05b9dad9aa5eab61e3001aa47cc3e1e8eb [INFO] running `Command { std: "docker" "start" "-a" "6c9f058f169ae19515ed4f73257fdf05b9dad9aa5eab61e3001aa47cc3e1e8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c9f058f169ae19515ed4f73257fdf05b9dad9aa5eab61e3001aa47cc3e1e8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9f058f169ae19515ed4f73257fdf05b9dad9aa5eab61e3001aa47cc3e1e8eb", kill_on_drop: false }` [INFO] [stdout] 6c9f058f169ae19515ed4f73257fdf05b9dad9aa5eab61e3001aa47cc3e1e8eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2afe035582d90c9b92a7adbef6bb672a8401677827f481251966ad5b94b0175f [INFO] running `Command { std: "docker" "start" "-a" "2afe035582d90c9b92a7adbef6bb672a8401677827f481251966ad5b94b0175f", kill_on_drop: false }` [INFO] [stderr] Compiling 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[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: a __rustc_plugin_registrar symbol must now be defined instead [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] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [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[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] [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[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] | ^^ use of undeclared crate or module `io` [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 for AttrError { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [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] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `attr` [INFO] [stdout] --> src/lib.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let meta_item = attr::mk_name_value_item_str( [INFO] [stdout] | ^^^^ use of undeclared crate or module `attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | token::intern_and_get_ident("doc"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | token::intern_and_get_ident(doc_string.as_slice()) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `attr` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | attr::mk_attr_inner(attr::mk_attr_id(), meta_item) [INFO] [stdout] | ^^^^ use of undeclared crate or module `attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `attr` [INFO] [stdout] --> src/lib.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | attr::mk_attr_inner(attr::mk_attr_id(), meta_item) [INFO] [stdout] | ^^^^ use of undeclared crate or module `attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/lib.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | reg.register_syntax_extension(token::intern("doc_file"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyntaxExtension` [INFO] [stdout] --> src/lib.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | ... SyntaxExtension::Modifier(modifier)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SyntaxExtension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/lib.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn extract_doc_path(meta: &MetaItem) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [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 { [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[E0531]: cannot find tuple struct or tuple variant `NameValue` in this scope [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | NameValue(_, ref lit) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitStr` in this scope [INFO] [stdout] --> src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | LitStr(ref path, _) => { [INFO] [stdout] | ^^^^^^ not found in this scope [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] | ^^^^ 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[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/lib.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | fn slurp_doc_file(cx: &mut ExtCtxt, path: Path, sp: Span) -> IoResult { [INFO] [stdout] | ^^^^^^^ not found in this scope [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 { [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[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 47 | fn slurp_doc_file(cx: &mut ExtCtxt, path: Path, sp: Span) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [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] | ^^^^ 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[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/lib.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | fn mk_doc_attr(doc_string: String) -> Attribute { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/lib.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | fn expand_attr_(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | fn expand_attr_(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/lib.rs:65:52 [INFO] [stdout] | [INFO] [stdout] 65 | fn expand_attr_(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/lib.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 65 | fn expand_attr_(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 66 | attrs: &mut Vec) -> Result<(), AttrError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/lib.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | fn expand_attr(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | fn expand_attr(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/lib.rs:77:51 [INFO] [stdout] | [INFO] [stdout] 77 | fn expand_attr(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | item: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 77 | fn expand_attr(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 78 | item: P) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | item: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 77 | fn expand_attr(cx: &mut ExtCtxt, sp: Span, meta: &MetaItem, [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 78 | item: P) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn plugin_registrar(reg: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemModifier` in this scope [INFO] [stdout] --> src/lib.rs:101:43 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn plugin_registrar(reg: &mut Registry) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 101 | let modifier = box expand_attr as Box; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/lib.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | let modifier = box expand_attr as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doc_file` due to 45 previous errors; 3 warnings emitted [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: aborting due to 44 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0463, E0531, E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2afe035582d90c9b92a7adbef6bb672a8401677827f481251966ad5b94b0175f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afe035582d90c9b92a7adbef6bb672a8401677827f481251966ad5b94b0175f", kill_on_drop: false }` [INFO] [stdout] 2afe035582d90c9b92a7adbef6bb672a8401677827f481251966ad5b94b0175f