[INFO] cloning repository https://github.com/yangxingwu/rust-book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yangxingwu/rust-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangxingwu%2Frust-book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangxingwu%2Frust-book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b234222560ac6aa0fa2786b529c0a922677651b [INFO] testing yangxingwu/rust-book against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangxingwu%2Frust-book" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yangxingwu/rust-book on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yangxingwu/rust-book [INFO] finished tweaking git repo https://github.com/yangxingwu/rust-book [INFO] tweaked toml for git repo https://github.com/yangxingwu/rust-book written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/yangxingwu/rust-book already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea7b30202a83c9b9164bdf912d7de0f1f7e737cb841e1ed6d50552264a518053 [INFO] running `Command { std: "docker" "start" "-a" "ea7b30202a83c9b9164bdf912d7de0f1f7e737cb841e1ed6d50552264a518053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea7b30202a83c9b9164bdf912d7de0f1f7e737cb841e1ed6d50552264a518053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7b30202a83c9b9164bdf912d7de0f1f7e737cb841e1ed6d50552264a518053", kill_on_drop: false }` [INFO] [stdout] ea7b30202a83c9b9164bdf912d7de0f1f7e737cb841e1ed6d50552264a518053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0daffe0d8f87b45e25c86b9d1aa95a03446cfc8e5f1ab0712098576a72489005 [INFO] running `Command { std: "docker" "start" "-a" "0daffe0d8f87b45e25c86b9d1aa95a03446cfc8e5f1ab0712098576a72489005", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling lazy_static v0.2.10 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling rust-book v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tools/src/bin/concat_chapters.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref MATCHERS: Vec<(Regex, &'static str)> = { [INFO] [stdout] 21 | | PATTERNS.iter() [INFO] [stdout] 22 | | .map(|&(expr, repl)| (Regex::new(expr).unwrap(), repl)) [INFO] [stdout] 23 | | .collect() [INFO] [stdout] 24 | | }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tools/src/bin/concat_chapters.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref MATCHERS: Vec<(Regex, &'static str)> = { [INFO] [stdout] 21 | | PATTERNS.iter() [INFO] [stdout] 22 | | .map(|&(expr, repl)| (Regex::new(expr).unwrap(), repl)) [INFO] [stdout] 23 | | .collect() [INFO] [stdout] 24 | | }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tools/src/bin/convert_quotes.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 11 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 11 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> tools/src/bin/lfp.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tools/src/bin/lfp.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tools/src/bin/link2print.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | Err(error) => panic!(error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 19 | Err(error) => panic!("{}", error), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 19 | Err(error) => std::panic::panic_any(error), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tools/src/bin/remove_markup.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | Err(error) => panic!(error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 15 | Err(error) => panic!("{}", error), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 15 | Err(error) => std::panic::panic_any(error), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tools/src/bin/remove_links.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 11 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 11 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.62s [INFO] running `Command { std: "docker" "inspect" "0daffe0d8f87b45e25c86b9d1aa95a03446cfc8e5f1ab0712098576a72489005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0daffe0d8f87b45e25c86b9d1aa95a03446cfc8e5f1ab0712098576a72489005", kill_on_drop: false }` [INFO] [stdout] 0daffe0d8f87b45e25c86b9d1aa95a03446cfc8e5f1ab0712098576a72489005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99b2434baea5948e7c93d960587704b1bfc107a9a3d7c188946fed31f6e7dd66 [INFO] running `Command { std: "docker" "start" "-a" "99b2434baea5948e7c93d960587704b1bfc107a9a3d7c188946fed31f6e7dd66", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-book v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> tools/src/bin/lfp.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tools/src/bin/lfp.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tools/src/bin/convert_quotes.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 11 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 11 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tools/src/bin/remove_links.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 11 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 11 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tools/src/bin/concat_chapters.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref MATCHERS: Vec<(Regex, &'static str)> = { [INFO] [stdout] 21 | | PATTERNS.iter() [INFO] [stdout] 22 | | .map(|&(expr, repl)| (Regex::new(expr).unwrap(), repl)) [INFO] [stdout] 23 | | .collect() [INFO] [stdout] 24 | | }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tools/src/bin/concat_chapters.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref MATCHERS: Vec<(Regex, &'static str)> = { [INFO] [stdout] 21 | | PATTERNS.iter() [INFO] [stdout] 22 | | .map(|&(expr, repl)| (Regex::new(expr).unwrap(), repl)) [INFO] [stdout] 23 | | .collect() [INFO] [stdout] 24 | | }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tools/src/bin/remove_markup.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | Err(error) => panic!(error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 15 | Err(error) => panic!("{}", error), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 15 | Err(error) => std::panic::panic_any(error), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tools/src/bin/link2print.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | Err(error) => panic!(error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 19 | Err(error) => panic!("{}", error), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 19 | Err(error) => std::panic::panic_any(error), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.40s [INFO] [stderr] Executable unittests tools/src/bin/concat_chapters.rs (/opt/rustwide/target/debug/deps/concat_chapters-fe0cd3a881ca6168) [INFO] [stderr] Executable unittests tools/src/bin/convert_quotes.rs (/opt/rustwide/target/debug/deps/convert_quotes-f1f046f8b713f315) [INFO] [stderr] Executable unittests tools/src/bin/lfp.rs (/opt/rustwide/target/debug/deps/lfp-e2239641ac8afac6) [INFO] [stderr] Executable unittests tools/src/bin/link2print.rs (/opt/rustwide/target/debug/deps/link2print-588b89ad6df00209) [INFO] [stderr] Executable unittests tools/src/bin/remove_links.rs (/opt/rustwide/target/debug/deps/remove_links-2deb47f589c5b617) [INFO] [stderr] Executable unittests tools/src/bin/remove_markup.rs (/opt/rustwide/target/debug/deps/remove_markup-ce9ae3c3ebf31c93) [INFO] running `Command { std: "docker" "inspect" "99b2434baea5948e7c93d960587704b1bfc107a9a3d7c188946fed31f6e7dd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b2434baea5948e7c93d960587704b1bfc107a9a3d7c188946fed31f6e7dd66", kill_on_drop: false }` [INFO] [stdout] 99b2434baea5948e7c93d960587704b1bfc107a9a3d7c188946fed31f6e7dd66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eaac57943dcffa8f5477f56e7bac316775585d968fe2d61f7300f76fb2cb2cbd [INFO] running `Command { std: "docker" "start" "-a" "eaac57943dcffa8f5477f56e7bac316775585d968fe2d61f7300f76fb2cb2cbd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tools/src/bin/remove_markup.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | Err(error) => panic!(error), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 15 | Err(error) => panic!("{}", error), [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 15 | Err(error) => std::panic::panic_any(error), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tools/src/bin/remove_links.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 11 | panic!("{}", e); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 11 | std::panic::panic_any(e); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tools/src/bin/convert_quotes.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 11 | panic!("{}", e); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 11 | std::panic::panic_any(e); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> tools/src/bin/lfp.rs:67:17 [INFO] [stderr] | [INFO] [stderr] 67 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> tools/src/bin/lfp.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{BufRead, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tools/src/bin/link2print.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | Err(error) => panic!(error), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 19 | Err(error) => panic!("{}", error), [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 19 | Err(error) => std::panic::panic_any(error), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> tools/src/bin/concat_chapters.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref MATCHERS: Vec<(Regex, &'static str)> = { [INFO] [stderr] 21 | | PATTERNS.iter() [INFO] [stderr] 22 | | .map(|&(expr, repl)| (Regex::new(expr).unwrap(), repl)) [INFO] [stderr] 23 | | .collect() [INFO] [stderr] 24 | | }; [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> tools/src/bin/concat_chapters.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref MATCHERS: Vec<(Regex, &'static str)> = { [INFO] [stderr] 21 | | PATTERNS.iter() [INFO] [stderr] 22 | | .map(|&(expr, repl)| (Regex::new(expr).unwrap(), repl)) [INFO] [stderr] 23 | | .collect() [INFO] [stderr] 24 | | }; [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rust-book` (bin "remove_markup" test) generated 1 warning [INFO] [stderr] warning: `rust-book` (bin "remove_links" test) generated 1 warning [INFO] [stderr] warning: `rust-book` (bin "convert_quotes" test) generated 1 warning [INFO] [stderr] warning: `rust-book` (bin "lfp" test) generated 2 warnings [INFO] [stderr] warning: `rust-book` (bin "link2print" test) generated 1 warning [INFO] [stderr] warning: `rust-book` (bin "concat_chapters" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.16s [INFO] [stderr] Running unittests tools/src/bin/concat_chapters.rs (/opt/rustwide/target/debug/deps/concat_chapters-fe0cd3a881ca6168) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests tools/src/bin/convert_quotes.rs (/opt/rustwide/target/debug/deps/convert_quotes-f1f046f8b713f315) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests tools/src/bin/lfp.rs (/opt/rustwide/target/debug/deps/lfp-e2239641ac8afac6) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::is_file_of_interest_returns_false_when_the_filename_does_not_have_the_md_extension ... ok [INFO] [stdout] test tests::is_file_of_interest_returns_true_when_the_filename_has_the_md_extension ... ok [INFO] [stdout] test tests::is_file_of_interest_returns_false_when_the_path_is_a_directory ... ok [INFO] [stdout] test tests::is_line_of_interest_does_not_report_a_line_if_the_line_contains_a_file_url_which_is_directly_followed_by_the_project_path ... ok [INFO] [stdout] test tests::is_line_of_interest_reports_a_line_if_the_line_contains_a_file_url_which_is_not_directly_followed_by_the_project_path ... ok [INFO] [stdout] test tests::lint_file_returns_a_vec_with_errs_when_lines_of_interest_are_found ... ok [INFO] [stdout] test tests::lint_file_returns_an_empty_vec_when_no_lines_of_interest_are_found ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests tools/src/bin/link2print.rs (/opt/rustwide/target/debug/deps/link2print-588b89ad6df00209) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test tests::parses_link_without_reference_as_reference_with_asterisks ... ignored [INFO] [stdout] test tests::ignores_links_in_quoted_sections ... ok [INFO] [stdout] test tests::ignores_optional_inline_title ... ok [INFO] [stdout] test tests::parses_multiline_links ... ok [INFO] [stdout] test tests::parses_inline_link ... ok [INFO] [stdout] test tests::ignores_short_quotes ... ok [INFO] [stdout] test tests::ignores_links_in_pre_sections ... ok [INFO] [stdout] test tests::ignores_links_in_quoted_sections_containing_newlines ... ok [INFO] [stdout] test tests::ignores_links_in_pre_sections_while_still_handling_links ... ok [INFO] [stdout] test tests::parses_title_with_puctuation ... ok [INFO] [stdout] test tests::parses_reference ... ok [INFO] [stdout] test tests::parses_link_as_reference_when_reference_is_empty ... ok [INFO] [stdout] test tests::ignores_pre_sections_with_final_quote ... ok [INFO] [stdout] test tests::parses_name_with_utf8 ... ok [INFO] [stdout] test tests::parses_reference_case_insensitively ... ok [INFO] [stdout] test tests::parses_name_with_punctuation ... ok [INFO] [stdout] test tests::parses_refs_with_three_space_indentation ... ok [INFO] [stdout] test tests::parses_refs_with_one_space_indentation ... ok [INFO] [stdout] test tests::parses_reference_with_punctuation ... ok [INFO] [stdout] test tests::parses_adam_p_cheatsheet ... ok [INFO] [stdout] test tests::parses_refs_with_two_space_indentation ... ok [INFO] [stdout] test tests::parses_implicit_link ... ok [INFO] [stdout] test tests::parses_link_without_reference_as_reference ... ok [INFO] [stdout] test tests::ignores_quotes_in_pre_sections ... ok [INFO] [stdout] test tests::rejects_refs_with_four_space_indentation - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests tools/src/bin/remove_links.rs (/opt/rustwide/target/debug/deps/remove_links-2deb47f589c5b617) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests tools/src/bin/remove_markup.rs (/opt/rustwide/target/debug/deps/remove_markup-ce9ae3c3ebf31c93) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eaac57943dcffa8f5477f56e7bac316775585d968fe2d61f7300f76fb2cb2cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaac57943dcffa8f5477f56e7bac316775585d968fe2d61f7300f76fb2cb2cbd", kill_on_drop: false }` [INFO] [stdout] eaac57943dcffa8f5477f56e7bac316775585d968fe2d61f7300f76fb2cb2cbd