[INFO] fetching crate graft 0.1.7... [INFO] testing graft-0.1.7 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate graft 0.1.7 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate graft 0.1.7 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/rust-toolchain [INFO] started tweaking crates.io crate graft 0.1.7 [INFO] finished tweaking crates.io crate graft 0.1.7 [INFO] tweaked toml for crates.io crate graft 0.1.7 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a038cc456581ec8b6262efcf303881935ae565cc6da717cfaf1fc9fcfab95aa7 [INFO] running `Command { std: "docker" "start" "-a" "a038cc456581ec8b6262efcf303881935ae565cc6da717cfaf1fc9fcfab95aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a038cc456581ec8b6262efcf303881935ae565cc6da717cfaf1fc9fcfab95aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a038cc456581ec8b6262efcf303881935ae565cc6da717cfaf1fc9fcfab95aa7", kill_on_drop: false }` [INFO] [stdout] a038cc456581ec8b6262efcf303881935ae565cc6da717cfaf1fc9fcfab95aa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ff0bacdfaf970125dd8fd3373873139862c0a9afb8185e219a9d4256170bce1 [INFO] running `Command { std: "docker" "start" "-a" "1ff0bacdfaf970125dd8fd3373873139862c0a9afb8185e219a9d4256170bce1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling csv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling comrak v0.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling graft v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/section.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/section.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.08s [INFO] running `Command { std: "docker" "inspect" "1ff0bacdfaf970125dd8fd3373873139862c0a9afb8185e219a9d4256170bce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff0bacdfaf970125dd8fd3373873139862c0a9afb8185e219a9d4256170bce1", kill_on_drop: false }` [INFO] [stdout] 1ff0bacdfaf970125dd8fd3373873139862c0a9afb8185e219a9d4256170bce1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d6689ff9c6011a560b60de9d22b82ee0f02b7738be5ffc2b9df1ad8b4ca70d0 [INFO] running `Command { std: "docker" "start" "-a" "2d6689ff9c6011a560b60de9d22b82ee0f02b7738be5ffc2b9df1ad8b4ca70d0", kill_on_drop: false }` [INFO] [stderr] Compiling pretty_assertions v0.5.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/section.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/section.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling graft v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/section.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/section.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/convert.rs:156:44 [INFO] [stdout] | [INFO] [stdout] 156 | let output = super::convert(&d(txt.trim_right()), ctx).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.29s [INFO] running `Command { std: "docker" "inspect" "2d6689ff9c6011a560b60de9d22b82ee0f02b7738be5ffc2b9df1ad8b4ca70d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6689ff9c6011a560b60de9d22b82ee0f02b7738be5ffc2b9df1ad8b4ca70d0", kill_on_drop: false }` [INFO] [stdout] 2d6689ff9c6011a560b60de9d22b82ee0f02b7738be5ffc2b9df1ad8b4ca70d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ede6a781888f03ada46fa8f4f848d149ee936710a9429a3063670c35e3318db [INFO] running `Command { std: "docker" "start" "-a" "7ede6a781888f03ada46fa8f4f848d149ee936710a9429a3063670c35e3318db", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/section.rs:35:49 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/section.rs:146:35 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/section.rs:35:49 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/section.rs:146:35 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Context` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/convert.rs:156:44 [INFO] [stderr] | [INFO] [stderr] 156 | let output = super::convert(&d(txt.trim_right()), ctx).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/graft-663b1f06c51219ac) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test section::tests::from ... ok [INFO] [stdout] test convert::tests::convert ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests graft [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" "7ede6a781888f03ada46fa8f4f848d149ee936710a9429a3063670c35e3318db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ede6a781888f03ada46fa8f4f848d149ee936710a9429a3063670c35e3318db", kill_on_drop: false }` [INFO] [stdout] 7ede6a781888f03ada46fa8f4f848d149ee936710a9429a3063670c35e3318db