[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_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewwoodruff%2Fsdoc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-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 termtree v0.2.1 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 412acfde77859545b3f61dd80ff0e0305408f2e7e3c93f90645c0a13fa931122 [INFO] running `Command { std: "docker" "start" "-a" "412acfde77859545b3f61dd80ff0e0305408f2e7e3c93f90645c0a13fa931122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "412acfde77859545b3f61dd80ff0e0305408f2e7e3c93f90645c0a13fa931122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412acfde77859545b3f61dd80ff0e0305408f2e7e3c93f90645c0a13fa931122", kill_on_drop: false }` [INFO] [stdout] 412acfde77859545b3f61dd80ff0e0305408f2e7e3c93f90645c0a13fa931122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c4f53fe6ae70ec16f036e27d7945cc16931024bdd07d0321c6cef0fb8d9ec422 [INFO] running `Command { std: "docker" "start" "-a" "c4f53fe6ae70ec16f036e27d7945cc16931024bdd07d0321c6cef0fb8d9ec422", 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 autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v1.0.80 [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 yaml-rust v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.130 [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 11.90s [INFO] running `Command { std: "docker" "inspect" "c4f53fe6ae70ec16f036e27d7945cc16931024bdd07d0321c6cef0fb8d9ec422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f53fe6ae70ec16f036e27d7945cc16931024bdd07d0321c6cef0fb8d9ec422", kill_on_drop: false }` [INFO] [stdout] c4f53fe6ae70ec16f036e27d7945cc16931024bdd07d0321c6cef0fb8d9ec422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/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] 4a24d60becb5e6c60d38a69acb8baea637a3f169e689024e4ce9e2815bb1aa87 [INFO] running `Command { std: "docker" "start" "-a" "4a24d60becb5e6c60d38a69acb8baea637a3f169e689024e4ce9e2815bb1aa87", 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 either v1.6.1 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bstr v0.2.17 [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 itertools v0.10.1 [INFO] [stderr] Compiling predicates-tree v1.0.4 [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 predicates v2.0.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [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 6.46s [INFO] running `Command { std: "docker" "inspect" "4a24d60becb5e6c60d38a69acb8baea637a3f169e689024e4ce9e2815bb1aa87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a24d60becb5e6c60d38a69acb8baea637a3f169e689024e4ce9e2815bb1aa87", kill_on_drop: false }` [INFO] [stdout] 4a24d60becb5e6c60d38a69acb8baea637a3f169e689024e4ce9e2815bb1aa87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a8b31d02c7ae95ae0776200ab297c16c3d177343a5289e47ec534e659a81d199 [INFO] running `Command { std: "docker" "start" "-a" "a8b31d02c7ae95ae0776200ab297c16c3d177343a5289e47ec534e659a81d199", 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.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sdoc-652925323a1348e3) [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_command_not_found ... 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_without_builtin_commands ... ok [INFO] [stdout] test commands::help_test::should_show_auto_completion_when_command_found ... ok [INFO] [stdout] test config::test::should_build_initial_context_from_current_executable ... ok [INFO] [stdout] test commands::help_test::should_show_auto_completion_when_command_not_found ... ok [INFO] [stdout] test commands::help_test::should_build_usage_for_command_with_dependencies ... ok [INFO] [stdout] test commands::shell_test::should_build_a_system_command_with_commands_directory_in_path ... ok [INFO] [stdout] test config::test::should_return_command_matching_command_alias ... 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_commands_for_all_sections ... ok [INFO] [stdout] test config::test::should_return_command_matching_command_name ... ok [INFO] [stdout] test dto::test::should_advance_request_with_single_arg ... ok [INFO] [stdout] test dto::test::should_advance_request_with_multiple_args ... ok [INFO] [stdout] test dto::test::should_be_autocomplete_enable_if_an_argument_requires_completion ... 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_autocomplete_index_matched_current_command ... ok [INFO] [stdout] test dto::test::should_build_request_from_vector_of_strings ... ok [INFO] [stdout] test dto::test::should_not_build_request_for_no_args ... 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_request_autocomplete_when_completed_index_is_one_less_than_current_command ... ok [INFO] [stdout] test model::test::command::should_deserialize_node_command ... ok [INFO] [stdout] test model::test::command::should_execute_command ... ok [INFO] [stdout] test model::test::command::should_deserialize_shell_command ... ok [INFO] [stdout] test dto::test::should_create_request_with_single_arg ... ok [INFO] [stdout] test model::test::command::should_check_dependencies_before_executing_command ... ok [INFO] [stdout] test model::test::command::should_not_match_command_name ... ok [INFO] [stdout] test model::test::command::should_match_command_alias ... ok [INFO] [stdout] test model::test::command::should_match_command_name ... ok [INFO] [stdout] test model::test::command::should_deserialize_full_command ... ok [INFO] [stderr] sh: 1: invalid-command: not found [INFO] [stdout] test workflow::test::should_return_custom_response_for_displaying_text ... ok [INFO] [stdout] test util::test::should_execute_a_valid_system_command_and_return_success ... ok [INFO] [stderr] sh: 1: invalid-command: not found [INFO] [stdout] test util::test::should_execute_an_invalid_system_command_and_return_unsuccessful ... ok [INFO] [stderr] sh: 1: 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] [stderr] sh: 1: invalid-command: not found [INFO] [stdout] test workflow::test::env ... ok [INFO] [stdout] test workflow::test::should_terminate_with_custom_exit_code ... ok [INFO] [stdout] test workflow::test::should_return_error_code_for_invalid_system_command ... ok [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sdoc-3114de0013d62ddf) [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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] [stdout] [INFO] [stderr] Running tests/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/main-125d8da8d550338a) [INFO] [stdout] running 45 tests [INFO] [stdout] test features::config::return_non_zero_exit_code_when_editor_is_not_set ... ok [INFO] [stdout] test features::edit::show_auto_complete ... ok [INFO] [stdout] test features::config::show_nothing_for_auto_complete ... ok [INFO] [stdout] test features::edit::return_non_zero_exit_code_when_editor_is_not_set ... 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::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::execute_a_command_when_dependencies_are_satisfied ... ok [INFO] [stdout] test features::help::show_help_for_a_specific_command_alias ... ok [INFO] [stdout] test features::help::show_auto_complete ... ok [INFO] [stdout] test features::help::return_non_zero_exit_code_when_asking_for_help_foir_nonexisting_command ... ok [INFO] [stdout] test features::help::show_help_for_a_specific_command ... ok [INFO] [stdout] test features::edit::allow_editor_to_be_configured ... ok [INFO] [stdout] test features::edit::only_allow_editing_of_script_commands ... ok [INFO] [stdout] test features::help::show_help_for_config_command ... ok [INFO] [stdout] test features::help::show_help_for_edit_command ... ok [INFO] [stdout] test features::help::show_help_message_when_help_is_ran ... ok [INFO] [stdout] test features::init::should_create_bin_and_commands_yaml ... ok [INFO] [stdout] test features::init::should_allow_the_user_to_cancel_setting_up_a_cli ... ok [INFO] [stdout] test features::init::should_require_a_cli_name ... ok [INFO] [stdout] test features::init::should_only_accept_y_or_n_when_prompting_to_setup_cli ... ok [INFO] [stdout] test features::init::should_show_correct_output_to_the_user ... ok [INFO] [stdout] test features::help::show_help_for_view_command ... ok [INFO] [stdout] test features::node::execute_a_command_with_alias ... ok [INFO] [stdout] test features::init::should_use_current_directory_when_one_is_not_specified ... ok [INFO] [stdout] test features::node::show_autocomplete_for_available_commands ... ok [INFO] [stdout] test features::node::execute_a_sub_command ... ok [INFO] [stdout] test features::node::show_autocomplete_for_a_sub_command ... ok [INFO] [stdout] test features::init::show_help_message_when_no_arguments_are_supplied ... ok [INFO] [stdout] test features::node::show_help_message_without_builtin_commands_when_unknown_command_is_given ... ok [INFO] [stdout] test features::node::show_help_message_without_builtin_commands_when_no_arguments_are_supplied ... ok [INFO] [stdout] test features::script::pass_arguments_to_script_correctly ... ok [INFO] [stdout] test features::show_command_usage_when_args_are_insufficient ... ok [INFO] [stdout] test features::view::only_allow_viewing_of_script_and_shell_commands ... ok [INFO] [stdout] test features::view::enable_viewing_a_shell_command ... ok [INFO] [stdout] test features::script::execute_a_script_command ... ok [INFO] [stdout] test features::view::enable_viewing_a_script_command ... ok [INFO] [stdout] test features::view::return_non_zero_exit_code_when_viewing_non_existing_command ... ok [INFO] [stdout] test features::show_command_usage_when_dependency_check_fails_for_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::init::should_allow_bootstrap_script_to_be_executed_successfully ... ok [INFO] [stdout] test features::init::should_allow_bootstrap_script_to_be_symlinked ... ok [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.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8b31d02c7ae95ae0776200ab297c16c3d177343a5289e47ec534e659a81d199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b31d02c7ae95ae0776200ab297c16c3d177343a5289e47ec534e659a81d199", kill_on_drop: false }` [INFO] [stdout] a8b31d02c7ae95ae0776200ab297c16c3d177343a5289e47ec534e659a81d199