[INFO] fetching crate graft 0.1.7... [INFO] testing graft-0.1.7 against 1.60.0 for beta-1.61-1 [INFO] extracting crate graft 0.1.7 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate graft 0.1.7 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-27/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-27/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded entities v1.0.1 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded typed-arena v1.7.0 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded csv v1.0.7 [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded comrak v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f21110751e5d4f5be618468a973c523fd6ca80d3b18563547f2daa8237b9ef2 [INFO] running `Command { std: "docker" "start" "-a" "5f21110751e5d4f5be618468a973c523fd6ca80d3b18563547f2daa8237b9ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f21110751e5d4f5be618468a973c523fd6ca80d3b18563547f2daa8237b9ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f21110751e5d4f5be618468a973c523fd6ca80d3b18563547f2daa8237b9ef2", kill_on_drop: false }` [INFO] [stdout] 5f21110751e5d4f5be618468a973c523fd6ca80d3b18563547f2daa8237b9ef2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 948642fbaf226923dc655d899f9334037c27a66f09fe847b91150b0f86368493 [INFO] running `Command { std: "docker" "start" "-a" "948642fbaf226923dc655d899f9334037c27a66f09fe847b91150b0f86368493", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling entities v1.0.1 [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 miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling comrak v0.3.1 [INFO] [stderr] Compiling csv v1.0.7 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling synstructure v0.12.6 [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 11.77s [INFO] running `Command { std: "docker" "inspect" "948642fbaf226923dc655d899f9334037c27a66f09fe847b91150b0f86368493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948642fbaf226923dc655d899f9334037c27a66f09fe847b91150b0f86368493", kill_on_drop: false }` [INFO] [stdout] 948642fbaf226923dc655d899f9334037c27a66f09fe847b91150b0f86368493 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cfac8cec0bc224871f8c6d8fe9972f62f50bd6581eed16d48917e426bfdc8d2 [INFO] running `Command { std: "docker" "start" "-a" "2cfac8cec0bc224871f8c6d8fe9972f62f50bd6581eed16d48917e426bfdc8d2", kill_on_drop: false }` [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling difference v2.0.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 3.36s [INFO] running `Command { std: "docker" "inspect" "2cfac8cec0bc224871f8c6d8fe9972f62f50bd6581eed16d48917e426bfdc8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cfac8cec0bc224871f8c6d8fe9972f62f50bd6581eed16d48917e426bfdc8d2", kill_on_drop: false }` [INFO] [stdout] 2cfac8cec0bc224871f8c6d8fe9972f62f50bd6581eed16d48917e426bfdc8d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a304280eaead8060e663627639954e2237aae1e89c3d5aeff74a9a4b2f568be1 [INFO] running `Command { std: "docker" "start" "-a" "a304280eaead8060e663627639954e2237aae1e89c3d5aeff74a9a4b2f568be1", 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: 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) generated 2 warnings [INFO] [stderr] warning: `graft` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/graft-09d6f6487f31d673) [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.01s [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" "a304280eaead8060e663627639954e2237aae1e89c3d5aeff74a9a4b2f568be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a304280eaead8060e663627639954e2237aae1e89c3d5aeff74a9a4b2f568be1", kill_on_drop: false }` [INFO] [stdout] a304280eaead8060e663627639954e2237aae1e89c3d5aeff74a9a4b2f568be1