[INFO] cloning repository https://github.com/TheArchmage/rust_stat_generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheArchmage/rust_stat_generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheArchmage%2Frust_stat_generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheArchmage%2Frust_stat_generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37062110b4e4e310f120586f8854b5e072e2b103 [INFO] checking TheArchmage/rust_stat_generator/37062110b4e4e310f120586f8854b5e072e2b103 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheArchmage%2Frust_stat_generator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheArchmage/rust_stat_generator on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheArchmage/rust_stat_generator [INFO] finished tweaking git repo https://github.com/TheArchmage/rust_stat_generator [INFO] tweaked toml for git repo https://github.com/TheArchmage/rust_stat_generator written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TheArchmage/rust_stat_generator 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4d95c9cc9e8f5ac74920c1e5f56abfa936425ce9a94619a6043b85a60a6a8d [INFO] running `Command { std: "docker" "start" "-a" "ca4d95c9cc9e8f5ac74920c1e5f56abfa936425ce9a94619a6043b85a60a6a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4d95c9cc9e8f5ac74920c1e5f56abfa936425ce9a94619a6043b85a60a6a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4d95c9cc9e8f5ac74920c1e5f56abfa936425ce9a94619a6043b85a60a6a8d", kill_on_drop: false }` [INFO] [stdout] ca4d95c9cc9e8f5ac74920c1e5f56abfa936425ce9a94619a6043b85a60a6a8d [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f35cfb66f963558abe544e3b523b83ba7b076a22e5c9b3a7f3665ba1c8ca80a [INFO] running `Command { std: "docker" "start" "-a" "7f35cfb66f963558abe544e3b523b83ba7b076a22e5c9b3a7f3665ba1c8ca80a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking stat_generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/lib.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | impl Stat<'a> { [INFO] [stdout] | - ^^ undeclared lifetime [INFO] [stdout] | | [INFO] [stdout] | help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/lib.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(name: &'a str, value: i32) -> Stat<'a> { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 93 | fn new<'a>(name: &'a str, value: i32) -> Stat<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Stat<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/lib.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | impl Stat<'a> { [INFO] [stdout] | - ^^ undeclared lifetime [INFO] [stdout] | | [INFO] [stdout] | help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/lib.rs:93:47 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(name: &'a str, value: i32) -> Stat<'a> { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 93 | fn new<'a>(name: &'a str, value: i32) -> Stat<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Stat<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/lib.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Character { [INFO] [stdout] | - help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] 102 | pub name: String, [INFO] [stdout] 103 | pub stats: Vec>, [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/lib.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(name: &'a str, value: i32) -> Stat<'a> { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 93 | fn new<'a>(name: &'a str, value: i32) -> Stat<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Stat<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/lib.rs:93:47 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(name: &'a str, value: i32) -> Stat<'a> { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 93 | fn new<'a>(name: &'a str, value: i32) -> Stat<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Stat<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/lib.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Character { [INFO] [stdout] | - help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] 102 | pub name: String, [INFO] [stdout] 103 | pub stats: Vec>, [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 6 arguments were supplied [INFO] [stdout] --> src/lib.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | stats: Vec::new( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/vec/mod.rs:422:18 [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 112 - Stat::new("STR", 10), [INFO] [stdout] 112 + ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 6 arguments were supplied [INFO] [stdout] --> src/lib.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | stats: Vec::new( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/vec/mod.rs:422:18 [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 112 - Stat::new("STR", 10), [INFO] [stdout] 112 + ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0261. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0261. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stat_generator` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stat_generator` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7f35cfb66f963558abe544e3b523b83ba7b076a22e5c9b3a7f3665ba1c8ca80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f35cfb66f963558abe544e3b523b83ba7b076a22e5c9b3a7f3665ba1c8ca80a", kill_on_drop: false }` [INFO] [stdout] 7f35cfb66f963558abe544e3b523b83ba7b076a22e5c9b3a7f3665ba1c8ca80a