[INFO] fetching crate wood 0.5.0... [INFO] checking wood-0.5.0 against try#c05ee43175e02d208faed1fcc0f436c56e48bba6 for pr-92413 [INFO] extracting crate wood 0.5.0 into /workspace/builds/worker-38/source [INFO] validating manifest of crates.io crate wood 0.5.0 on toolchain c05ee43175e02d208faed1fcc0f436c56e48bba6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wood 0.5.0 [INFO] finished tweaking crates.io crate wood 0.5.0 [INFO] tweaked toml for crates.io crate wood 0.5.0 written to /workspace/builds/worker-38/source/Cargo.toml [INFO] crate crates.io crate wood 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "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-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f5c5e9f7ec5b067a698bd9165448aee2281f5b99c8df07c528fd0cae05afde8 [INFO] running `Command { std: "docker" "start" "-a" "2f5c5e9f7ec5b067a698bd9165448aee2281f5b99c8df07c528fd0cae05afde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f5c5e9f7ec5b067a698bd9165448aee2281f5b99c8df07c528fd0cae05afde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5c5e9f7ec5b067a698bd9165448aee2281f5b99c8df07c528fd0cae05afde8", kill_on_drop: false }` [INFO] [stdout] 2f5c5e9f7ec5b067a698bd9165448aee2281f5b99c8df07c528fd0cae05afde8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0624aa85674dbe5d692c1c3d838cfda48faad5108f0348e047a5e3687b022428 [INFO] running `Command { std: "docker" "start" "-a" "0624aa85674dbe5d692c1c3d838cfda48faad5108f0348e047a5e3687b022428", kill_on_drop: false }` [INFO] [stderr] Checking ref_slice v1.1.1 [INFO] [stderr] Checking wood v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `wood_assert` [INFO] [stdout] --> src/lib.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | macro_rules! wood_assert { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | fn dewoodify(&Wood) -> Result<Self, Box<WoodError>> where Self:Sized; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Wood` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `wood_assert` [INFO] [stdout] --> src/lib.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | macro_rules! wood_assert { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | fn dewoodify(&Wood) -> Result<Self, Box<WoodError>> where Self:Sized; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Wood` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'a` never used [INFO] [stdout] --> src/lib.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | impl<'a> Into<Wood> for Vec<Wood> { [INFO] [stdout] | -^^- help: elide the unused lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'a` never used [INFO] [stdout] --> src/lib.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | impl<'a> Into<Wood> for Vec<Wood> { [INFO] [stdout] | -^^- help: elide the unused lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [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 `wood` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parsers/mod.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | panic!(format!("in \"{}\" case, {} did not equal {}", test_name, first_case.to_string(), remainin... [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 134 - panic!(format!("in \"{}\" case, {} did not equal {}", test_name, first_case.to_string(), remaining_case.to_string())); [INFO] [stdout] 134 + panic!("in \"{}\" case, {} did not equal {}", test_name, first_case.to_string(), remaining_case.to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parsers/mod.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | panic!(format!("in \"{}\" case, {} did not equal {}", test_name, first_case.to_string(), remainin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 165 - panic!(format!("in \"{}\" case, {} did not equal {}", test_name, first_case.to_string(), remaining_case.to_string())); [INFO] [stdout] 165 + panic!("in \"{}\" case, {} did not equal {}", test_name, first_case.to_string(), remaining_case.to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0624aa85674dbe5d692c1c3d838cfda48faad5108f0348e047a5e3687b022428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0624aa85674dbe5d692c1c3d838cfda48faad5108f0348e047a5e3687b022428", kill_on_drop: false }` [INFO] [stdout] 0624aa85674dbe5d692c1c3d838cfda48faad5108f0348e047a5e3687b022428