[INFO] cloning repository https://github.com/jacekku/random_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacekku/random_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacekku%2Frandom_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacekku%2Frandom_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1eb1158611adbb6db2a47611fb4b945c41eb3236 [INFO] testing jacekku/random_rust against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacekku%2Frandom_rust" "/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/jacekku/random_rust [INFO] finished tweaking git repo https://github.com/jacekku/random_rust [INFO] tweaked toml for git repo https://github.com/jacekku/random_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jacekku/random_rust on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jacekku/random_rust 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca035e138ae39d5b8a40acfad73367cbf3e96cdf97d34ea3c595d4048afa3e55 [INFO] running `Command { std: "docker" "start" "-a" "ca035e138ae39d5b8a40acfad73367cbf3e96cdf97d34ea3c595d4048afa3e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca035e138ae39d5b8a40acfad73367cbf3e96cdf97d34ea3c595d4048afa3e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca035e138ae39d5b8a40acfad73367cbf3e96cdf97d34ea3c595d4048afa3e55", kill_on_drop: false }` [INFO] [stdout] ca035e138ae39d5b8a40acfad73367cbf3e96cdf97d34ea3c595d4048afa3e55 [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e56762298253678baf75a6ff283f35bf7bc3d5e59867bc5d3dee9e33ee747749 [INFO] running `Command { std: "docker" "start" "-a" "e56762298253678baf75a6ff283f35bf7bc3d5e59867bc5d3dee9e33ee747749", kill_on_drop: false }` [INFO] [stderr] Compiling _random_rust_projects v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/interpreter/bin/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod lib; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/testing_loops/bin/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let output: &Vec<&MyNum> = &arr [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/diagram_generator/bin/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `flows` are never read [INFO] [stdout] --> src/diagram_generator/bin/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Diagram<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | title: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | flows: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/diagram_generator/bin/lib.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_diagram(diagram_description: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_diagram(diagram_description: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryRepo` is never constructed [INFO] [stdout] --> src/ioc_container/bin/main.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct MemoryRepo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "e56762298253678baf75a6ff283f35bf7bc3d5e59867bc5d3dee9e33ee747749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56762298253678baf75a6ff283f35bf7bc3d5e59867bc5d3dee9e33ee747749", kill_on_drop: false }` [INFO] [stdout] e56762298253678baf75a6ff283f35bf7bc3d5e59867bc5d3dee9e33ee747749 [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbf52abf1843bdf21c4aef5712e97af6250c7a6519ff9f7fafdbcea836aef8b1 [INFO] running `Command { std: "docker" "start" "-a" "fbf52abf1843bdf21c4aef5712e97af6250c7a6519ff9f7fafdbcea836aef8b1", kill_on_drop: false }` [INFO] [stderr] Compiling _random_rust_projects v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MemoryRepo` is never constructed [INFO] [stdout] --> src/ioc_container/bin/main.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct MemoryRepo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/interpreter/bin/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod lib; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/testing_loops/bin/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let output: &Vec<&MyNum> = &arr [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/diagram_generator/bin/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `_random_rust_projects` (bin "interpreter" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/diagram_generator/bin/lib.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_diagram(diagram_description: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_diagram(diagram_description: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/interpreter/bin/lib/diagram.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | let mut scanner = Scanner::new(&input.to_string()); [INFO] [stdout] | --------------^^^^^^^^^^^^^^^^^-- temporary value is freed at the end of this statement [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/interpreter/bin/lib/diagram.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let result = scan(""); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbf52abf1843bdf21c4aef5712e97af6250c7a6519ff9f7fafdbcea836aef8b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbf52abf1843bdf21c4aef5712e97af6250c7a6519ff9f7fafdbcea836aef8b1", kill_on_drop: false }` [INFO] [stdout] fbf52abf1843bdf21c4aef5712e97af6250c7a6519ff9f7fafdbcea836aef8b1