[INFO] cloning repository https://github.com/matthewwoodruff/sdoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthewwoodruff/sdoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewwoodruff%2Fsdoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewwoodruff%2Fsdoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d579a5d907703279537eea6097ca57b812fe9bd [INFO] testing matthewwoodruff/sdoc against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewwoodruff%2Fsdoc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matthewwoodruff/sdoc [INFO] finished tweaking git repo https://github.com/matthewwoodruff/sdoc [INFO] tweaked toml for git repo https://github.com/matthewwoodruff/sdoc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matthewwoodruff/sdoc on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matthewwoodruff/sdoc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates v2.0.3 [INFO] [stderr] Downloaded assert_cmd v1.0.8 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded predicates-tree v1.0.4 [INFO] [stderr] Downloaded termtree v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f3830211275b63fe394cf2cbac01b37b1c565a3732107fcc44924542ea1d5b8 [INFO] running `Command { std: "docker" "start" "-a" "4f3830211275b63fe394cf2cbac01b37b1c565a3732107fcc44924542ea1d5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f3830211275b63fe394cf2cbac01b37b1c565a3732107fcc44924542ea1d5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f3830211275b63fe394cf2cbac01b37b1c565a3732107fcc44924542ea1d5b8", kill_on_drop: false }` [INFO] [stdout] 4f3830211275b63fe394cf2cbac01b37b1c565a3732107fcc44924542ea1d5b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 08137412afc417a28942f2209a11eac9298e156a9e9f30e99bbfbe174bf97c83 [INFO] running `Command { std: "docker" "start" "-a" "08137412afc417a28942f2209a11eac9298e156a9e9f30e99bbfbe174bf97c83", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling sdoc v0.8.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workflow/mod.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run_workflow(workflow: Vec, runner: &InstructionRunner) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run_workflow(workflow: Vec, runner: &dyn InstructionRunner) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workflow/mod.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn run(self, runner: &InstructionRunner) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn run(self, runner: &dyn InstructionRunner) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConfigSource` is never used [INFO] [stdout] --> src/config/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ConfigSource { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dto/mod.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(args: &Vec, completed: Option) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(args: &Vec, completed: Option) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dto/mod.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | fn build(shift: usize, completed: Option, all_args: &Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | fn build(shift: usize, completed: Option, all_args: &Vec) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cli.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn build_request(args: &Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn build_request(args: &Vec) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.24s [INFO] running `Command { std: "docker" "inspect" "08137412afc417a28942f2209a11eac9298e156a9e9f30e99bbfbe174bf97c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08137412afc417a28942f2209a11eac9298e156a9e9f30e99bbfbe174bf97c83", kill_on_drop: false }` [INFO] [stdout] 08137412afc417a28942f2209a11eac9298e156a9e9f30e99bbfbe174bf97c83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 45d5b575294e2f8fb50244a21b19d3315abd12943c2adc5275876d9ec740cdce [INFO] running `Command { std: "docker" "start" "-a" "45d5b575294e2f8fb50244a21b19d3315abd12943c2adc5275876d9ec740cdce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling termtree v0.2.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workflow/mod.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run_workflow(workflow: Vec, runner: &InstructionRunner) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run_workflow(workflow: Vec, runner: &dyn InstructionRunner) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workflow/mod.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn run(self, runner: &InstructionRunner) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn run(self, runner: &dyn InstructionRunner) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConfigSource` is never used [INFO] [stdout] --> src/config/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ConfigSource { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dto/mod.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(args: &Vec, completed: Option) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(args: &Vec, completed: Option) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dto/mod.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | fn build(shift: usize, completed: Option, all_args: &Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | fn build(shift: usize, completed: Option, all_args: &Vec) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cli.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn build_request(args: &Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn build_request(args: &Vec) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.4 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling predicates v2.0.3 [INFO] [stderr] Compiling assert_cmd v1.0.8 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling sdoc v0.8.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workflow/mod.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run_workflow(workflow: Vec, runner: &InstructionRunner) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run_workflow(workflow: Vec, runner: &dyn InstructionRunner) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workflow/mod.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn run(self, runner: &InstructionRunner) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn run(self, runner: &dyn InstructionRunner) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConfigSource` is never used [INFO] [stdout] --> src/config/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ConfigSource { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dto/mod.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(args: &Vec, completed: Option) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(args: &Vec, completed: Option) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dto/mod.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | fn build(shift: usize, completed: Option, all_args: &Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | fn build(shift: usize, completed: Option, all_args: &Vec) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cli.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn build_request(args: &Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn build_request(args: &Vec) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.15s [INFO] running `Command { std: "docker" "inspect" "45d5b575294e2f8fb50244a21b19d3315abd12943c2adc5275876d9ec740cdce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45d5b575294e2f8fb50244a21b19d3315abd12943c2adc5275876d9ec740cdce", kill_on_drop: false }` [INFO] [stdout] 45d5b575294e2f8fb50244a21b19d3315abd12943c2adc5275876d9ec740cdce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f319cb83ea38094270567414f1b84e8cab58b59959da93c100c40c1b32ac1bf3 [INFO] running `Command { std: "docker" "start" "-a" "f319cb83ea38094270567414f1b84e8cab58b59959da93c100c40c1b32ac1bf3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/workflow/mod.rs:61:51 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn run_workflow(workflow: Vec, runner: &InstructionRunner) -> Response { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 | pub fn run_workflow(workflow: Vec, runner: &dyn InstructionRunner) -> Response { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/workflow/mod.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | fn run(self, runner: &InstructionRunner) -> Response { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 | fn run(self, runner: &dyn InstructionRunner) -> Response { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait `ConfigSource` is never used [INFO] [stderr] --> src/config/mod.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub trait ConfigSource { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/dto/mod.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(args: &Vec, completed: Option) -> Request { [INFO] [stderr] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(args: &Vec, completed: Option) -> Request<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/dto/mod.rs:22:64 [INFO] [stderr] | [INFO] [stderr] 22 | fn build(shift: usize, completed: Option, all_args: &Vec) -> Request { [INFO] [stderr] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 22 | fn build(shift: usize, completed: Option, all_args: &Vec) -> Request<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cli.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | fn build_request(args: &Vec) -> Request { [INFO] [stderr] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 24 | fn build_request(args: &Vec) -> Request<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sdoc` (lib) generated 6 warnings (run `cargo fix --lib -p sdoc` to apply 5 suggestions) [INFO] [stderr] warning: `sdoc` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sdoc-789a9f742fe98839) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test commands::help_test::should_build_help_text_for_specific_command_with_no_dependencies ... ok [INFO] [stdout] test commands::help_test::should_build_help_text_when_no_args_given ... ok [INFO] [stdout] test commands::help_test::should_build_help_text_when_command_not_found ... ok [INFO] [stdout] test commands::help_test::should_build_help_text_without_builtin_commands ... ok [INFO] [stdout] test commands::help_test::should_build_usage_for_command_with_dependencies ... ok [INFO] [stdout] test commands::help_test::should_show_auto_completion_when_command_found ... ok [INFO] [stdout] test commands::help_test::should_show_auto_completion_when_command_not_found ... ok [INFO] [stdout] test config::test::should_build_initial_context_from_current_executable ... ok [INFO] [stdout] test config::test::should_return_command_matching_command_alias ... ok [INFO] [stdout] test commands::shell_test::should_build_a_system_command_with_commands_directory_in_path ... ok [INFO] [stdout] test commands::help_test::should_show_nothing_when_command_found_and_auto_completion_required_for_command ... ok [INFO] [stdout] test config::test::should_return_command_matching_command_name ... ok [INFO] [stdout] test config::test::should_return_commands_for_all_sections ... ok [INFO] [stdout] test dto::test::should_advance_request_with_single_arg ... ok [INFO] [stdout] test dto::test::should_be_autocomplete_enable_if_an_argument_requires_completion ... ok [INFO] [stdout] test dto::test::should_build_request_from_vector_of_strings ... ok [INFO] [stdout] test dto::test::should_advance_request_with_multiple_args ... ok [INFO] [stdout] test dto::test::should_not_build_request_for_no_args ... ok [INFO] [stdout] test dto::test::should_not_request_autocomplete_when_autocomplete_index_is_zero ... ok [INFO] [stdout] test dto::test::should_not_request_autocomplete_when_completed_index_is_greater_than_total_commands ... ok [INFO] [stdout] test dto::test::should_create_request_with_single_arg ... ok [INFO] [stdout] test dto::test::should_not_request_autocomplete_when_autocomplete_index_matched_current_command ... ok [INFO] [stdout] test dto::test::should_request_autocomplete_when_completed_index_is_one_less_than_current_command ... ok [INFO] [stdout] test model::test::command::should_check_dependencies_before_executing_command ... ok [INFO] [stdout] test model::test::command::should_execute_command ... ok [INFO] [stdout] test model::test::command::should_match_command_alias ... ok [INFO] [stdout] test model::test::command::should_deserialize_shell_command ... ok [INFO] [stdout] test model::test::command::should_deserialize_full_command ... ok [INFO] [stdout] test model::test::command::should_match_command_name ... ok [INFO] [stdout] test workflow::test::should_return_custom_response_for_displaying_text ... ok [INFO] [stdout] test model::test::command::should_deserialize_node_command ... ok [INFO] [stdout] test model::test::command::should_not_match_command_name ... ok [INFO] [stdout] test util::test::should_execute_a_valid_system_command_and_return_success ... ok [INFO] [stderr] sh: 1: sh: 1: invalid-command: not found [INFO] [stderr] sh: 1: invalid-command: not found [INFO] [stderr] sh: 1: invalid-command: not found [INFO] [stdout] test workflow::test::should_terminate_with_custom_exit_code ... ok [INFO] [stdout] test workflow::test::env ... ok [INFO] [stdout] test util::test::should_execute_an_invalid_system_command_and_return_unsuccessful ... ok [INFO] [stderr] invalid-command: not found [INFO] [stdout] test workflow::test::should_stop_executing_workflow_when_an_instruction_fails ... ok [INFO] [stderr] sh: 1: invalid-command: not found [INFO] [stdout] test workflow::test::should_return_error_code_for_invalid_system_command ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sdoc-fe147a6ca9d6e731) [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] [stderr] Running tests/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/main-b8421102bb0acb99) [INFO] [stdout] [INFO] [stdout] running 45 tests [INFO] [stdout] test features::edit::allow_editor_to_be_configured ... ok [INFO] [stdout] test features::execute_a_command_when_dependencies_are_satisfied ... ok [INFO] [stdout] test features::edit::return_non_zero_exit_code_when_editing_a_non_existing_command ... ok [INFO] [stdout] test features::execute_a_command_with_required_args ... ok [INFO] [stdout] test features::config::show_nothing_for_auto_complete ... ok [INFO] [stdout] test features::edit::show_auto_complete ... ok [INFO] [stdout] test features::edit::return_non_zero_exit_code_when_editor_is_not_set ... ok [INFO] [stdout] test features::help::show_help_for_config_command ... ok [INFO] [stdout] test features::edit::only_allow_editing_of_script_commands ... ok [INFO] [stdout] test features::help::show_auto_complete ... ok [INFO] [stdout] test features::config::return_non_zero_exit_code_when_editor_is_not_set ... ok [INFO] [stdout] test features::help::return_non_zero_exit_code_when_asking_for_help_foir_nonexisting_command ... ok [INFO] [stdout] test features::execute_a_command_when_dependencies_are_satisfied_with_command ... ok [INFO] [stdout] test features::help::show_help_for_help_command ... ok [INFO] [stdout] test features::help::show_help_for_view_command ... ok [INFO] [stdout] test features::help::show_help_for_a_specific_command ... ok [INFO] [stdout] test features::help::show_help_for_edit_command ... ok [INFO] [stdout] test features::help::show_help_for_a_specific_command_alias ... ok [INFO] [stdout] test features::init::should_allow_the_user_to_cancel_setting_up_a_cli ... ok [INFO] [stdout] test features::init::should_only_accept_y_or_n_when_prompting_to_setup_cli ... ok [INFO] [stdout] test features::init::should_require_a_cli_name ... ok [INFO] [stdout] test features::node::execute_a_command_with_alias ... ok [INFO] [stdout] test features::init::should_show_correct_output_to_the_user ... ok [INFO] [stdout] test features::init::should_create_bin_and_commands_yaml ... ok [INFO] [stdout] test features::help::show_help_message_when_help_is_ran ... ok [INFO] [stdout] test features::node::show_help_message_without_builtin_commands_when_unknown_command_is_given ... ok [INFO] [stdout] test features::node::execute_a_sub_command ... ok [INFO] [stdout] test features::init::should_use_current_directory_when_one_is_not_specified ... ok [INFO] [stdout] test features::node::show_autocomplete_for_a_sub_command ... ok [INFO] [stdout] test features::node::show_help_message_without_builtin_commands_when_no_arguments_are_supplied ... ok [INFO] [stdout] test features::node::show_autocomplete_for_available_commands ... ok [INFO] [stdout] test features::init::show_help_message_when_no_arguments_are_supplied ... ok [INFO] [stdout] test features::show_command_usage_when_args_are_insufficient ... ok [INFO] [stdout] test features::show_command_usage_when_dependency_check_fails_for_command ... ok [INFO] [stdout] test features::script::pass_arguments_to_script_correctly ... ok [INFO] [stdout] test features::view::enable_viewing_a_script_command ... ok [INFO] [stdout] test features::script::execute_a_script_command ... ok [INFO] [stdout] test features::show_command_usage_when_dependency_check_fails_for_envar ... ok [INFO] [stdout] test features::view::show_auto_complete ... ok [INFO] [stdout] test features::view::enable_viewing_a_shell_command ... ok [INFO] [stdout] test features::view::only_allow_viewing_of_script_and_shell_commands ... ok [INFO] [stdout] test features::view::return_non_zero_exit_code_when_viewing_non_existing_command ... ok [INFO] [stdout] test features::init::should_allow_bootstrap_script_to_be_executed_successfully ... ok [INFO] [stdout] test features::init::should_allow_bootstrap_script_to_be_symlinked ... ok [INFO] [stderr] Doc-tests sdoc [INFO] [stdout] test features::config::allow_editor_to_be_configured ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 45 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [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" "f319cb83ea38094270567414f1b84e8cab58b59959da93c100c40c1b32ac1bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f319cb83ea38094270567414f1b84e8cab58b59959da93c100c40c1b32ac1bf3", kill_on_drop: false }` [INFO] [stdout] f319cb83ea38094270567414f1b84e8cab58b59959da93c100c40c1b32ac1bf3