[INFO] fetching crate stir 0.0.2... [INFO] checking stir-0.0.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate stir 0.0.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate stir 0.0.2 [INFO] finished tweaking crates.io crate stir 0.0.2 [INFO] tweaked toml for crates.io crate stir 0.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stir 0.0.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f3b1c37d628f8ae7477ea099b9d636b27ae2c29baece07d4d8590715fedafc1 [INFO] running `Command { std: "docker" "start" "-a" "5f3b1c37d628f8ae7477ea099b9d636b27ae2c29baece07d4d8590715fedafc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f3b1c37d628f8ae7477ea099b9d636b27ae2c29baece07d4d8590715fedafc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f3b1c37d628f8ae7477ea099b9d636b27ae2c29baece07d4d8590715fedafc1", kill_on_drop: false }` [INFO] [stdout] 5f3b1c37d628f8ae7477ea099b9d636b27ae2c29baece07d4d8590715fedafc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b983dced9c0af61590a84773083302c89039086d2b4b627d3291518ca55a7fab [INFO] running `Command { std: "docker" "start" "-a" "b983dced9c0af61590a84773083302c89039086d2b4b627d3291518ca55a7fab", kill_on_drop: false }` [INFO] [stderr] Checking stir v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/recipe/mod.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | Some(entry_block) => Ok({ BasicBlock::interpret(entry_block) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 59 - Some(entry_block) => Ok({ BasicBlock::interpret(entry_block) }), [INFO] [stdout] 59 + Some(entry_block) => Ok(BasicBlock::interpret(entry_block)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/recipe/mod.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | Some(entry_block) => Ok({ BasicBlock::interpret(entry_block) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 59 - Some(entry_block) => Ok({ BasicBlock::interpret(entry_block) }), [INFO] [stdout] 59 + Some(entry_block) => Ok(BasicBlock::interpret(entry_block)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/label/mod.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | unique.push_str(&LAST_ID.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` 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/recipe/mod.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add(&mut self, block: &'block dyn BasicBlock) -> &Recipe { [INFO] [stdout] | ^^^^^^^^^ ------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [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] 37 | pub fn add(&mut self, block: &'block dyn BasicBlock) -> &Recipe<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/label/mod.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | unique.push_str(&LAST_ID.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` 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/recipe/mod.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add(&mut self, block: &'block dyn BasicBlock) -> &Recipe { [INFO] [stdout] | ^^^^^^^^^ ------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [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] 37 | pub fn add(&mut self, block: &'block dyn BasicBlock) -> &Recipe<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "b983dced9c0af61590a84773083302c89039086d2b4b627d3291518ca55a7fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b983dced9c0af61590a84773083302c89039086d2b4b627d3291518ca55a7fab", kill_on_drop: false }` [INFO] [stdout] b983dced9c0af61590a84773083302c89039086d2b4b627d3291518ca55a7fab