[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] checking yangxingwu/rust-book against try#218e3b1b9f68e7a8b7fb8fcbff627c64536eebaa for pr-92594 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangxingwu%2Frust-book" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yangxingwu/rust-book on toolchain 218e3b1b9f68e7a8b7fb8fcbff627c64536eebaa [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+218e3b1b9f68e7a8b7fb8fcbff627c64536eebaa" "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-15/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" "+218e3b1b9f68e7a8b7fb8fcbff627c64536eebaa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+218e3b1b9f68e7a8b7fb8fcbff627c64536eebaa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9552c4155f906668938b8f78fdc2cc764b028cd9cf490939c6aebd19a95abb1a [INFO] running `Command { std: "docker" "start" "-a" "9552c4155f906668938b8f78fdc2cc764b028cd9cf490939c6aebd19a95abb1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9552c4155f906668938b8f78fdc2cc764b028cd9cf490939c6aebd19a95abb1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9552c4155f906668938b8f78fdc2cc764b028cd9cf490939c6aebd19a95abb1a", kill_on_drop: false }` [INFO] [stdout] 9552c4155f906668938b8f78fdc2cc764b028cd9cf490939c6aebd19a95abb1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+218e3b1b9f68e7a8b7fb8fcbff627c64536eebaa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0693282d599a648c5ba8d9cac67ae1e8583cd8e5f1b67dd16897c87caf3655ff [INFO] running `Command { std: "docker" "start" "-a" "0693282d599a648c5ba8d9cac67ae1e8583cd8e5f1b67dd16897c87caf3655ff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking lazy_static v0.2.10 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking 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] error: use of unstable library feature 'rustc_encodable_decodable': unstable implementation detail of the `rustc` compiler, do not use [INFO] [stdout] --> tools/src/bin/lfp.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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] error: use of unstable library feature 'rustc_encodable_decodable': unstable implementation detail of the `rustc` compiler, do not use [INFO] [stdout] --> tools/src/bin/lfp.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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: 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: 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: 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_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/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_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_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] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-book` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [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: 1 warning 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] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0693282d599a648c5ba8d9cac67ae1e8583cd8e5f1b67dd16897c87caf3655ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0693282d599a648c5ba8d9cac67ae1e8583cd8e5f1b67dd16897c87caf3655ff", kill_on_drop: false }` [INFO] [stdout] 0693282d599a648c5ba8d9cac67ae1e8583cd8e5f1b67dd16897c87caf3655ff