[INFO] fetching crate graft 0.1.7... [INFO] testing graft-0.1.7 against 1.59.0 for beta-1.60-1 [INFO] extracting crate graft 0.1.7 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate graft 0.1.7 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-18/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-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e587f3cc1706886371ed221ce7f539c1c553afa87ecc51391c37f4b0d45febe [INFO] running `Command { std: "docker" "start" "-a" "4e587f3cc1706886371ed221ce7f539c1c553afa87ecc51391c37f4b0d45febe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e587f3cc1706886371ed221ce7f539c1c553afa87ecc51391c37f4b0d45febe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e587f3cc1706886371ed221ce7f539c1c553afa87ecc51391c37f4b0d45febe", kill_on_drop: false }` [INFO] [stdout] 4e587f3cc1706886371ed221ce7f539c1c553afa87ecc51391c37f4b0d45febe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ff1052b6355e9786501709cf67d12c3102c1918edc7cc3ee00ac4e91a3b68e3 [INFO] running `Command { std: "docker" "start" "-a" "2ff1052b6355e9786501709cf67d12c3102c1918edc7cc3ee00ac4e91a3b68e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling csv v1.0.7 [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] | ^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] 35 + pub fn from(header: &str, body: &str, ctx: &dyn Context) -> Result, Error> { [INFO] [stdout] | [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] | ^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] 146 + pub fn parse(txt: &str, ctx: &dyn Context) -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.57s [INFO] running `Command { std: "docker" "inspect" "2ff1052b6355e9786501709cf67d12c3102c1918edc7cc3ee00ac4e91a3b68e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ff1052b6355e9786501709cf67d12c3102c1918edc7cc3ee00ac4e91a3b68e3", kill_on_drop: false }` [INFO] [stdout] 2ff1052b6355e9786501709cf67d12c3102c1918edc7cc3ee00ac4e91a3b68e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba676b1ee17276c216b204e839c18ca08de0b99b63b6bcbb2656e22f7597a68 [INFO] running `Command { std: "docker" "start" "-a" "8ba676b1ee17276c216b204e839c18ca08de0b99b63b6bcbb2656e22f7597a68", kill_on_drop: false }` [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [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] | ^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] 35 + pub fn from(header: &str, body: &str, ctx: &dyn Context) -> Result, Error> { [INFO] [stdout] | [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] | ^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] 146 + pub fn parse(txt: &str, ctx: &dyn Context) -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v0.5.1 [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] | ^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] 35 + pub fn from(header: &str, body: &str, ctx: &dyn Context) -> Result, Error> { [INFO] [stdout] | [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] | ^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stdout] 146 + pub fn parse(txt: &str, ctx: &dyn Context) -> Result, Error> { [INFO] [stdout] | [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.07s [INFO] running `Command { std: "docker" "inspect" "8ba676b1ee17276c216b204e839c18ca08de0b99b63b6bcbb2656e22f7597a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba676b1ee17276c216b204e839c18ca08de0b99b63b6bcbb2656e22f7597a68", kill_on_drop: false }` [INFO] [stdout] 8ba676b1ee17276c216b204e839c18ca08de0b99b63b6bcbb2656e22f7597a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1d5e225cd8bfd1ea64484c688d87ce1b4141f13341989bff550305693ef16158 [INFO] running `Command { std: "docker" "start" "-a" "1d5e225cd8bfd1ea64484c688d87ce1b4141f13341989bff550305693ef16158", 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] | ^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - pub fn from(header: &str, body: &str, ctx: &Context) -> Result, Error> { [INFO] [stderr] 35 + pub fn from(header: &str, body: &str, ctx: &dyn Context) -> Result, Error> { [INFO] [stderr] | [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] | ^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 146 - pub fn parse(txt: &str, ctx: &Context) -> Result, Error> { [INFO] [stderr] 146 + pub fn parse(txt: &str, ctx: &dyn Context) -> Result, Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `graft` (lib) generated 2 warnings [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: `graft` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/graft-7160016dd0ae9d79) [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.02s [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" "1d5e225cd8bfd1ea64484c688d87ce1b4141f13341989bff550305693ef16158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d5e225cd8bfd1ea64484c688d87ce1b4141f13341989bff550305693ef16158", kill_on_drop: false }` [INFO] [stdout] 1d5e225cd8bfd1ea64484c688d87ce1b4141f13341989bff550305693ef16158