[INFO] cloning repository https://github.com/Richterrettich/asciiauthor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Richterrettich/asciiauthor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichterrettich%2Fasciiauthor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichterrettich%2Fasciiauthor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2387877e2f0d48eb32f4e29dcc5e0f0d40a7b78 [INFO] checking Richterrettich/asciiauthor/f2387877e2f0d48eb32f4e29dcc5e0f0d40a7b78 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichterrettich%2Fasciiauthor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Richterrettich/asciiauthor on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Richterrettich/asciiauthor [INFO] finished tweaking git repo https://github.com/Richterrettich/asciiauthor [INFO] tweaked toml for git repo https://github.com/Richterrettich/asciiauthor written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Richterrettich/asciiauthor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.19.2 [INFO] [stderr] Downloaded term_size v0.2.1 [INFO] [stderr] Downloaded unicode-segmentation v0.1.3 [INFO] [stderr] Downloaded libc v0.2.18 [INFO] [stderr] Downloaded argf v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5c2bdda4193d3bd908118704e429f233b20778de94766b2c604904a8d98b7df [INFO] running `Command { std: "docker" "start" "-a" "c5c2bdda4193d3bd908118704e429f233b20778de94766b2c604904a8d98b7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c2bdda4193d3bd908118704e429f233b20778de94766b2c604904a8d98b7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c2bdda4193d3bd908118704e429f233b20778de94766b2c604904a8d98b7df", kill_on_drop: false }` [INFO] [stdout] c5c2bdda4193d3bd908118704e429f233b20778de94766b2c604904a8d98b7df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30e127ef48e8838713d420e814e8a68999c6726d3a54ab07432c0170855f8e4b [INFO] running `Command { std: "docker" "start" "-a" "30e127ef48e8838713d420e814e8a68999c6726d3a54ab07432c0170855f8e4b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking unicode-segmentation v0.1.3 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking unicode-width v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking argf v0.2.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking term_size v0.2.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking term v0.4.4 [INFO] [stderr] Checking clap v2.19.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking term-painter v0.2.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking asciiauthor v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | create_dir!(&dir_path,"content"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | create_dir!(&dir_path,"includes"); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | create_dir!(&dir_path,"content/images"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try!(write!(&f,$c)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | / create_file!(&dir_path,".gitignore", [INFO] [stdout] 23 | | "**/*.html\n\ [INFO] [stdout] 24 | | **/*.pdf\n\ [INFO] [stdout] 25 | | **/*.pdfmarks\n\ [INFO] [stdout] 26 | | **/*.textclippings\n\ [INFO] [stdout] 27 | | **/.DS_Store\n"); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let f = try!(File::create(&*format!("{}",path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | / create_file!(&dir_path,".gitignore", [INFO] [stdout] 23 | | "**/*.html\n\ [INFO] [stdout] 24 | | **/*.pdf\n\ [INFO] [stdout] 25 | | **/*.pdfmarks\n\ [INFO] [stdout] 26 | | **/*.textclippings\n\ [INFO] [stdout] 27 | | **/.DS_Store\n"); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | create_dir!(&dir_path,"content"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try!(write!(&f,$c)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / create_file!(&dir_path,"includes/config.adoc", [INFO] [stdout] 29 | | ":icons: font\n\ [INFO] [stdout] 30 | | :toc: macro\n\ [INFO] [stdout] 31 | | :stem: latexmath\n\ [INFO] [stdout] 32 | | :source-highlighter: coderay\n\ [INFO] [stdout] 33 | | :listing-caption: Listing\n\ [INFO] [stdout] 34 | | :pdf-page-size: A4\n"); [INFO] [stdout] | |________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | create_dir!(&dir_path,"includes"); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let f = try!(File::create(&*format!("{}",path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / create_file!(&dir_path,"includes/config.adoc", [INFO] [stdout] 29 | | ":icons: font\n\ [INFO] [stdout] 30 | | :toc: macro\n\ [INFO] [stdout] 31 | | :stem: latexmath\n\ [INFO] [stdout] 32 | | :source-highlighter: coderay\n\ [INFO] [stdout] 33 | | :listing-caption: Listing\n\ [INFO] [stdout] 34 | | :pdf-page-size: A4\n"); [INFO] [stdout] | |________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | create_dir!(&dir_path,"content/images"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(write!(&f,$c,$($sub),*)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | / create_file!(&dir_path,"content/index.adoc", [INFO] [stdout] 36 | | "= {}\n\ [INFO] [stdout] 37 | | include::../includes/config.adoc[]\n\n\ [INFO] [stdout] 38 | | :content: .\n\n\ [INFO] [stdout] 39 | | toc::[]\n\n",name); [INFO] [stdout] | |____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try!(write!(&f,$c)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | / create_file!(&dir_path,".gitignore", [INFO] [stdout] 23 | | "**/*.html\n\ [INFO] [stdout] 24 | | **/*.pdf\n\ [INFO] [stdout] 25 | | **/*.pdfmarks\n\ [INFO] [stdout] 26 | | **/*.textclippings\n\ [INFO] [stdout] 27 | | **/.DS_Store\n"); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let f = try!(File::create(&*format!("{}",path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | / create_file!(&dir_path,".gitignore", [INFO] [stdout] 23 | | "**/*.html\n\ [INFO] [stdout] 24 | | **/*.pdf\n\ [INFO] [stdout] 25 | | **/*.pdfmarks\n\ [INFO] [stdout] 26 | | **/*.textclippings\n\ [INFO] [stdout] 27 | | **/.DS_Store\n"); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let f = try!(File::create(&*format!("{}",path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | / create_file!(&dir_path,"content/index.adoc", [INFO] [stdout] 36 | | "= {}\n\ [INFO] [stdout] 37 | | include::../includes/config.adoc[]\n\n\ [INFO] [stdout] 38 | | :content: .\n\n\ [INFO] [stdout] 39 | | toc::[]\n\n",name); [INFO] [stdout] | |____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try!(write!(&f,$c)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / create_file!(&dir_path,"includes/config.adoc", [INFO] [stdout] 29 | | ":icons: font\n\ [INFO] [stdout] 30 | | :toc: macro\n\ [INFO] [stdout] 31 | | :stem: latexmath\n\ [INFO] [stdout] 32 | | :source-highlighter: coderay\n\ [INFO] [stdout] 33 | | :listing-caption: Listing\n\ [INFO] [stdout] 34 | | :pdf-page-size: A4\n"); [INFO] [stdout] | |________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/section/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let new_number = try!(find_last_number(path)) + 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | create_dir!(path, &*format!("{}_{}", new_number, dir_name)); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let f = try!(File::create(&*format!("{}",path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / create_file!(&dir_path,"includes/config.adoc", [INFO] [stdout] 29 | | ":icons: font\n\ [INFO] [stdout] 30 | | :toc: macro\n\ [INFO] [stdout] 31 | | :stem: latexmath\n\ [INFO] [stdout] 32 | | :source-highlighter: coderay\n\ [INFO] [stdout] 33 | | :listing-caption: Listing\n\ [INFO] [stdout] 34 | | :pdf-page-size: A4\n"); [INFO] [stdout] | |________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | create_dir!(path, &*format!("{}_{}/images", new_number, dir_name)); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(write!(&f,$c,$($sub),*)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | / create_file!(&dir_path,"content/index.adoc", [INFO] [stdout] 36 | | "= {}\n\ [INFO] [stdout] 37 | | include::../includes/config.adoc[]\n\n\ [INFO] [stdout] 38 | | :content: .\n\n\ [INFO] [stdout] 39 | | toc::[]\n\n",name); [INFO] [stdout] | |____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let f = try!(File::create(&*format!("{}",path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/init/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | / create_file!(&dir_path,"content/index.adoc", [INFO] [stdout] 36 | | "= {}\n\ [INFO] [stdout] 37 | | include::../includes/config.adoc[]\n\n\ [INFO] [stdout] 38 | | :content: .\n\n\ [INFO] [stdout] 39 | | toc::[]\n\n",name); [INFO] [stdout] | |____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(write!(&f,$c,$($sub),*)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / create_file!(path, [INFO] [stdout] 53 | | &*format!("{}/index.adoc", section_name), [INFO] [stdout] 54 | | "{}\n{} {}\n:{}: .\nifdef::{}[]\n:{}: {{{}}}/{}\nendif::{}[]\n:imagesdir: \ [INFO] [stdout] 55 | | {{{}}}/images\n\n", [INFO] [stdout] ... | [INFO] [stdout] 64 | | parent_image_variable, [INFO] [stdout] 65 | | dir_name); [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/section/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let new_number = try!(find_last_number(path)) + 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | create_dir!(path, &*format!("{}_{}", new_number, dir_name)); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let f = try!(File::create(&*format!("{}",path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / create_file!(path, [INFO] [stdout] 53 | | &*format!("{}/index.adoc", section_name), [INFO] [stdout] 54 | | "{}\n{} {}\n:{}: .\nifdef::{}[]\n:{}: {{{}}}/{}\nendif::{}[]\n:imagesdir: \ [INFO] [stdout] 55 | | {{{}}}/images\n\n", [INFO] [stdout] ... | [INFO] [stdout] 64 | | parent_image_variable, [INFO] [stdout] 65 | | dir_name); [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(fs::create_dir_all(Path::new(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | create_dir!(path, &*format!("{}_{}/images", new_number, dir_name)); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | try!(write!(&f,$c,$($sub),*)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / append_file!(&*format!("{}/index.adoc", path), [INFO] [stdout] 69 | | "//BEGIN SECTIONS\ninclude::{}/index.adoc[]\n\n", [INFO] [stdout] 70 | | &*section_name); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `append_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(write!(&f,$c,$($sub),*)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / create_file!(path, [INFO] [stdout] 53 | | &*format!("{}/index.adoc", section_name), [INFO] [stdout] 54 | | "{}\n{} {}\n:{}: .\nifdef::{}[]\n:{}: {{{}}}/{}\nendif::{}[]\n:imagesdir: \ [INFO] [stdout] 55 | | {{{}}}/images\n\n", [INFO] [stdout] ... | [INFO] [stdout] 64 | | parent_image_variable, [INFO] [stdout] 65 | | dir_name); [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let f = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / append_file!(&*format!("{}/index.adoc", path), [INFO] [stdout] 69 | | "//BEGIN SECTIONS\ninclude::{}/index.adoc[]\n\n", [INFO] [stdout] 70 | | &*section_name); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `append_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | try!(write!(&f,$c,$($sub),*)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / append_file!(&*format!("{}/index.adoc", path), [INFO] [stdout] 73 | | "include::{}/index.adoc[]\n\n", [INFO] [stdout] 74 | | &*section_name); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `append_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let f = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / append_file!(&*format!("{}/index.adoc", path), [INFO] [stdout] 73 | | "include::{}/index.adoc[]\n\n", [INFO] [stdout] 74 | | &*section_name); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `append_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/section/mod.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/section/mod.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | let dir = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let f = try!(File::create(&*format!("{}",path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / create_file!(path, [INFO] [stdout] 53 | | &*format!("{}/index.adoc", section_name), [INFO] [stdout] 54 | | "{}\n{} {}\n:{}: .\nifdef::{}[]\n:{}: {{{}}}/{}\nendif::{}[]\n:imagesdir: \ [INFO] [stdout] 55 | | {{{}}}/images\n\n", [INFO] [stdout] ... | [INFO] [stdout] 64 | | parent_image_variable, [INFO] [stdout] 65 | | dir_name); [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut dir_entries = try!(util::sorted_dir_entries(base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(fs::rename(&old_name_of_second,new_name_of_second)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | try!(fs::rename(&old_name_of_first,new_name_of_first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | try!(write!(&f,$c,$($sub),*)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / append_file!(&*format!("{}/index.adoc", path), [INFO] [stdout] 69 | | "//BEGIN SECTIONS\ninclude::{}/index.adoc[]\n\n", [INFO] [stdout] 70 | | &*section_name); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `append_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(util::rewrite_index(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | try!(util::rewrite_sections(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let f = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / append_file!(&*format!("{}/index.adoc", path), [INFO] [stdout] 69 | | "//BEGIN SECTIONS\ninclude::{}/index.adoc[]\n\n", [INFO] [stdout] 70 | | &*section_name); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `append_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | try!(write!(&f,$c,$($sub),*)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / append_file!(&*format!("{}/index.adoc", path), [INFO] [stdout] 73 | | "include::{}/index.adoc[]\n\n", [INFO] [stdout] 74 | | &*section_name); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `append_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let f = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/section/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / append_file!(&*format!("{}/index.adoc", path), [INFO] [stdout] 73 | | "include::{}/index.adoc[]\n\n", [INFO] [stdout] 74 | | &*section_name); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `append_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/section/mod.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | try!(fs::rename(util::dir(base,first,&dir_entries), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/section/mod.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | let dir = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | try!(util::rewrite_index(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut dir_entries = try!(util::sorted_dir_entries(base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | try!(util::rewrite_sections(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(fs::rename(&old_name_of_second,new_name_of_second)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut dir_entries = try!(util::sorted_dir_entries(base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | try!(util::move_section_dirs(first-1,second,base,&dir_entries)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(util::move_section_dirs(first+1,second,base,&dir_entries)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/delete_command/mod.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | try!(util::rewrite_index(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/delete_command/mod.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | try!(util::rewrite_sections(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/delete_command/mod.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let mut dir_entries = try!(util::sorted_dir_entries(base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | try!(fs::remove_dir_all(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/delete_command/mod.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | remove_dir!(base,dir_name); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `remove_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/delete_command/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | try!(util::move_section_dirs(number+1,highest_value,base,&dir_entries)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | try!(f.read_to_string(&mut file_content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | try!(write!(temp_file,"{}{}",first_part,includes_part)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | try!(fs::rename(format!("{}/temp_file",&base),format!("{}/index.adoc",&base))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | let mut f = try!(fs::File::open(format!("{}/index.adoc",base))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | try!(fs::rename(&old_name_of_first,new_name_of_first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | let mut temp_file = try!(fs::File::create(format!("{}/temp_file",base))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(fs::rename(format!("{}/{}/temp_file",base,dir_entry.to_string()),format!("{}/{}/index.adoc",base,dir_entry.to_string()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(util::rewrite_index(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | let file = try!(fs::File::open(index_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/swap_command/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | try!(util::rewrite_sections(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let temp_file = try!(fs::File::create(format!("{}/{}/temp_file",base,dir_entry.to_string()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | try!(write!(&temp_file,"{}\n",append_line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | try!(fs::rename(util::dir(base,first,&dir_entries), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | try!(fs::rename(dir(base,i,&dir_entries), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | try!(fs::rename(dir(base,i,&dir_entries), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | try!(util::rewrite_index(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let read_dir = try!(fs::read_dir(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | try!(util::rewrite_sections(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut dir_entries = try!(util::sorted_dir_entries(base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | try!(util::move_section_dirs(first-1,second,base,&dir_entries)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/move_command/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(util::move_section_dirs(first+1,second,base,&dir_entries)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/delete_command/mod.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | try!(util::rewrite_index(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/delete_command/mod.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | try!(util::rewrite_sections(&mut dir_entries,base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/delete_command/mod.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let mut dir_entries = try!(util::sorted_dir_entries(base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | try!(fs::remove_dir_all(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/delete_command/mod.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | remove_dir!(base,dir_name); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `remove_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/delete_command/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | try!(util::move_section_dirs(number+1,highest_value,base,&dir_entries)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | try!(f.read_to_string(&mut file_content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | try!(write!(temp_file,"{}{}",first_part,includes_part)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | try!(fs::rename(format!("{}/temp_file",&base),format!("{}/index.adoc",&base))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | let mut f = try!(fs::File::open(format!("{}/index.adoc",base))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | let mut temp_file = try!(fs::File::create(format!("{}/temp_file",base))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(fs::rename(format!("{}/{}/temp_file",base,dir_entry.to_string()),format!("{}/{}/index.adoc",base,dir_entry.to_string()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | let file = try!(fs::File::open(index_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let temp_file = try!(fs::File::create(format!("{}/{}/temp_file",base,dir_entry.to_string()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | try!(write!(&temp_file,"{}\n",append_line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | try!(fs::rename(dir(base,i,&dir_entries), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | try!(fs::rename(dir(base,i,&dir_entries), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let read_dir = try!(fs::read_dir(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | BookError::IoBookError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | BookError::IoBookError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | BookError::IoBookError(ref err) => write!(f, "{}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | BookError::IoBookError(ref err) => write!(f, "{}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | Err(err) => println!("{}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | Err(err) => println!("{}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/lib.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | section_result = section::section("baz",&*content_path,vector); [INFO] [stdout] | ---------------- ^^^^^^ expected `Option>`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/section/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn section(name: &str, dir: &str, inputs: Option) -> Result<(), error::BookError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asciiauthor` (test "lib") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "30e127ef48e8838713d420e814e8a68999c6726d3a54ab07432c0170855f8e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e127ef48e8838713d420e814e8a68999c6726d3a54ab07432c0170855f8e4b", kill_on_drop: false }` [INFO] [stdout] 30e127ef48e8838713d420e814e8a68999c6726d3a54ab07432c0170855f8e4b