[INFO] fetching crate substudy 0.4.5... [INFO] checking substudy-0.4.5 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate substudy 0.4.5 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate substudy 0.4.5 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate substudy 0.4.5 [INFO] finished tweaking crates.io crate substudy 0.4.5 [INFO] tweaked toml for crates.io crate substudy 0.4.5 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest v0.3.3 [INFO] [stderr] Downloaded structopt v0.1.7 [INFO] [stderr] Downloaded structopt-derive v0.1.6 [INFO] [stderr] Downloaded cli_test_dir v0.1.7 [INFO] [stderr] Downloaded handlebars v0.29.1 [INFO] [stderr] Downloaded peg v0.5.7 [INFO] [stderr] Downloaded chardet v0.2.4 [INFO] [stderr] Downloaded whatlang v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7812e70b07e0ab842e9b7651cc5f59ae6ac2af9f2f47d944b7922f301b53d2ba [INFO] running `Command { std: "docker" "start" "-a" "7812e70b07e0ab842e9b7651cc5f59ae6ac2af9f2f47d944b7922f301b53d2ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7812e70b07e0ab842e9b7651cc5f59ae6ac2af9f2f47d944b7922f301b53d2ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7812e70b07e0ab842e9b7651cc5f59ae6ac2af9f2f47d944b7922f301b53d2ba", kill_on_drop: false }` [INFO] [stdout] 7812e70b07e0ab842e9b7651cc5f59ae6ac2af9f2f47d944b7922f301b53d2ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f40dcc4c388f947e1f7107a87b5c28f7bf5c2026428fe60e62320e6d4e7fdb5 [INFO] running `Command { std: "docker" "start" "-a" "1f40dcc4c388f947e1f7107a87b5c28f7bf5c2026428fe60e62320e6d4e7fdb5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Checking chardet v0.2.4 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking cli_test_dir v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking whatlang v0.5.0 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking pbr v1.0.4 [INFO] [stderr] Compiling substudy v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking structopt v0.1.7 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking handlebars v0.29.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | /// An error occurred while trying to create a directory. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | /// An error occured while trying to read a file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | /// An error occured while trying to write a file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | fn write_full_message(&self, out: &mut Write) -> io::Result<()>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | fn write_full_message(&self, out: &mut Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/substudy-bc7b3c048d5fd3d4/out/grammar.rs:111:461 [INFO] [stdout] | [INFO] [stdout] 111 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/substudy-bc7b3c048d5fd3d4/out/grammar.rs:113:482 [INFO] [stdout] | [INFO] [stdout] 113 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/substudy-bc7b3c048d5fd3d4/out/grammar.rs:113:1247 [INFO] [stdout] | [INFO] [stdout] 113 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/lang.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | /// An error occurred while trying to create a directory. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | /// An error occured while trying to read a file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | /// An error occured while trying to write a file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | fn write_full_message(&self, out: &mut Write) -> io::Result<()>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | fn write_full_message(&self, out: &mut Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/substudy-bc7b3c048d5fd3d4/out/grammar.rs:111:461 [INFO] [stdout] | [INFO] [stdout] 111 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/substudy-bc7b3c048d5fd3d4/out/grammar.rs:113:482 [INFO] [stdout] | [INFO] [stdout] 113 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/substudy-bc7b3c048d5fd3d4/out/grammar.rs:113:1247 [INFO] [stdout] | [INFO] [stdout] 113 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::Error::causes`: please use the 'iter_chain()' method instead [INFO] [stdout] --> src/errors.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | for cause in self.causes() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/lang.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/srt.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(grammar::subtitle_file(data.trim_left_matches("\u{FEFF}")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::Error::causes`: please use the 'iter_chain()' method instead [INFO] [stdout] --> src/errors.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | for cause in self.causes() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/srt.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(grammar::subtitle_file(data.trim_left_matches("\u{FEFF}")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/lang.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/lang.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.22s [INFO] running `Command { std: "docker" "inspect" "1f40dcc4c388f947e1f7107a87b5c28f7bf5c2026428fe60e62320e6d4e7fdb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f40dcc4c388f947e1f7107a87b5c28f7bf5c2026428fe60e62320e6d4e7fdb5", kill_on_drop: false }` [INFO] [stdout] 1f40dcc4c388f947e1f7107a87b5c28f7bf5c2026428fe60e62320e6d4e7fdb5