[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 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangxingwu%2Frust-book" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yangxingwu/rust-book on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-70/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b38a87d67d821becbe6badf94bd266e2b5fef0baf0f36a41980ba85f7de2cb6 [INFO] running `Command { std: "docker" "start" "-a" "1b38a87d67d821becbe6badf94bd266e2b5fef0baf0f36a41980ba85f7de2cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b38a87d67d821becbe6badf94bd266e2b5fef0baf0f36a41980ba85f7de2cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b38a87d67d821becbe6badf94bd266e2b5fef0baf0f36a41980ba85f7de2cb6", kill_on_drop: false }` [INFO] [stdout] 1b38a87d67d821becbe6badf94bd266e2b5fef0baf0f36a41980ba85f7de2cb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d17a4aed208865fdec3ffe9fd0809c9e733518dd29adeb47a16df5ea1d2b9a1a [INFO] running `Command { std: "docker" "start" "-a" "d17a4aed208865fdec3ffe9fd0809c9e733518dd29adeb47a16df5ea1d2b9a1a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling winapi v0.2.8 [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 walkdir v0.1.8 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [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: 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 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/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: 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/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 41.28s [INFO] running `Command { std: "docker" "inspect" "d17a4aed208865fdec3ffe9fd0809c9e733518dd29adeb47a16df5ea1d2b9a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d17a4aed208865fdec3ffe9fd0809c9e733518dd29adeb47a16df5ea1d2b9a1a", kill_on_drop: false }` [INFO] [stdout] d17a4aed208865fdec3ffe9fd0809c9e733518dd29adeb47a16df5ea1d2b9a1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2390f8eb348edd5cc5282bc402462e36a0af5b7314c08ec20e5387f4c2ec250d [INFO] running `Command { std: "docker" "start" "-a" "2390f8eb348edd5cc5282bc402462e36a0af5b7314c08ec20e5387f4c2ec250d", 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 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: 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: 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/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: 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 1.48s [INFO] running `Command { std: "docker" "inspect" "2390f8eb348edd5cc5282bc402462e36a0af5b7314c08ec20e5387f4c2ec250d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2390f8eb348edd5cc5282bc402462e36a0af5b7314c08ec20e5387f4c2ec250d", kill_on_drop: false }` [INFO] [stdout] 2390f8eb348edd5cc5282bc402462e36a0af5b7314c08ec20e5387f4c2ec250d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 109ec71107e833adb64a264787dcbdd4bdcbfbfd0861adb0ff3eb06e13463c7c [INFO] running `Command { std: "docker" "start" "-a" "109ec71107e833adb64a264787dcbdd4bdcbfbfd0861adb0ff3eb06e13463c7c", kill_on_drop: false }` [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: `rust-book` (bin "link2print" test) generated 1 warning [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: 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: 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: 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: 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: `rust-book` (bin "convert_quotes" test) generated 1 warning [INFO] [stderr] warning: `rust-book` (bin "remove_links" test) generated 1 warning [INFO] [stderr] warning: `rust-book` (bin "lfp" test) generated 2 warnings [INFO] [stderr] warning: `rust-book` (bin "concat_chapters" test) generated 2 warnings [INFO] [stderr] warning: `rust-book` (bin "remove_markup" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/concat_chapters-81f3e497c9322eb6) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/convert_quotes-a49edea5aba57711) [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 (/opt/rustwide/target/debug/deps/lfp-b5dfcba642dcd4f5) [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] [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_false_when_the_path_is_a_directory ... ok [INFO] [stdout] test tests::is_file_of_interest_returns_true_when_the_filename_has_the_md_extension ... 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_an_empty_vec_when_no_lines_of_interest_are_found ... ok [INFO] [stdout] test tests::lint_file_returns_a_vec_with_errs_when_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 (/opt/rustwide/target/debug/deps/link2print-304637fe7d3966b7) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test tests::parses_link_without_reference_as_reference_with_asterisks ... ignored [INFO] [stdout] test tests::parses_reference_with_punctuation ... ok [INFO] [stdout] test tests::ignores_links_in_quoted_sections_containing_newlines ... ok [INFO] [stdout] test tests::parses_inline_link ... ok [INFO] [stdout] test tests::parses_link_without_reference_as_reference ... ok [INFO] [stdout] test tests::ignores_links_in_pre_sections ... ok [INFO] [stdout] test tests::parses_name_with_punctuation ... ok [INFO] [stdout] test tests::parses_link_as_reference_when_reference_is_empty ... ok [INFO] [stdout] test tests::parses_reference ... ok [INFO] [stdout] test tests::parses_implicit_link ... ok [INFO] [stdout] test tests::ignores_links_in_pre_sections_while_still_handling_links ... ok [INFO] [stdout] test tests::ignores_links_in_quoted_sections ... ok [INFO] [stdout] test tests::parses_reference_case_insensitively ... ok [INFO] [stdout] test tests::ignores_optional_inline_title ... ok [INFO] [stdout] test tests::parses_refs_with_three_space_indentation ... ok [INFO] [stdout] test tests::ignores_quotes_in_pre_sections ... ok [INFO] [stdout] test tests::ignores_short_quotes ... ok [INFO] [stdout] test tests::parses_multiline_links ... ok [INFO] [stdout] test tests::parses_refs_with_two_space_indentation ... ok [INFO] [stdout] test tests::parses_name_with_utf8 ... ok [INFO] [stdout] test tests::parses_refs_with_one_space_indentation ... ok [INFO] [stdout] test tests::ignores_pre_sections_with_final_quote ... ok [INFO] [stdout] test tests::parses_title_with_puctuation ... ok [INFO] [stdout] test tests::parses_adam_p_cheatsheet ... 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.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/remove_links-4f1698eca48e16b1) [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 (/opt/rustwide/target/debug/deps/remove_markup-3565331b18f6d08d) [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" "109ec71107e833adb64a264787dcbdd4bdcbfbfd0861adb0ff3eb06e13463c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "109ec71107e833adb64a264787dcbdd4bdcbfbfd0861adb0ff3eb06e13463c7c", kill_on_drop: false }` [INFO] [stdout] 109ec71107e833adb64a264787dcbdd4bdcbfbfd0861adb0ff3eb06e13463c7c