[INFO] fetching crate graft 0.1.7... [INFO] testing graft-0.1.7 against beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9f261b0addd2ccc7f0884e1aa0889b49e7b14db46b74e7505311111b1d3082f [INFO] running `Command { std: "docker" "start" "-a" "c9f261b0addd2ccc7f0884e1aa0889b49e7b14db46b74e7505311111b1d3082f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9f261b0addd2ccc7f0884e1aa0889b49e7b14db46b74e7505311111b1d3082f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f261b0addd2ccc7f0884e1aa0889b49e7b14db46b74e7505311111b1d3082f", kill_on_drop: false }` [INFO] [stdout] c9f261b0addd2ccc7f0884e1aa0889b49e7b14db46b74e7505311111b1d3082f [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f114601ffe54b81d6330f73634cf05db061c1e8cf89662bd5d19f3e014ebb9fd [INFO] running `Command { std: "docker" "start" "-a" "f114601ffe54b81d6330f73634cf05db061c1e8cf89662bd5d19f3e014ebb9fd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 cc v1.0.73 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling textwrap v0.10.0 [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 miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling twoway v0.1.8 [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 addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [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 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 10.05s [INFO] running `Command { std: "docker" "inspect" "f114601ffe54b81d6330f73634cf05db061c1e8cf89662bd5d19f3e014ebb9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f114601ffe54b81d6330f73634cf05db061c1e8cf89662bd5d19f3e014ebb9fd", kill_on_drop: false }` [INFO] [stdout] f114601ffe54b81d6330f73634cf05db061c1e8cf89662bd5d19f3e014ebb9fd [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 988ab67e0fbe313bdda5a520f379dc9245b98a65de3ab1f8928ab2d89fe6494a [INFO] running `Command { std: "docker" "start" "-a" "988ab67e0fbe313bdda5a520f379dc9245b98a65de3ab1f8928ab2d89fe6494a", 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 2.90s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/graft-2a45ac5b8c5b86ef) [INFO] running `Command { std: "docker" "inspect" "988ab67e0fbe313bdda5a520f379dc9245b98a65de3ab1f8928ab2d89fe6494a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988ab67e0fbe313bdda5a520f379dc9245b98a65de3ab1f8928ab2d89fe6494a", kill_on_drop: false }` [INFO] [stdout] 988ab67e0fbe313bdda5a520f379dc9245b98a65de3ab1f8928ab2d89fe6494a [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98c4b5ea4f98e69c417c70cfbf5eb32d52c8127594ba604061a70c10c18cf4f3 [INFO] running `Command { std: "docker" "start" "-a" "98c4b5ea4f98e69c417c70cfbf5eb32d52c8127594ba604061a70c10c18cf4f3", 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 src/lib.rs (/opt/rustwide/target/debug/deps/graft-2a45ac5b8c5b86ef) [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" "98c4b5ea4f98e69c417c70cfbf5eb32d52c8127594ba604061a70c10c18cf4f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98c4b5ea4f98e69c417c70cfbf5eb32d52c8127594ba604061a70c10c18cf4f3", kill_on_drop: false }` [INFO] [stdout] 98c4b5ea4f98e69c417c70cfbf5eb32d52c8127594ba604061a70c10c18cf4f3