[INFO] fetching crate blackboard 1.1.0... [INFO] checking blackboard-1.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate blackboard 1.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate blackboard 1.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate blackboard 1.1.0 [INFO] finished tweaking crates.io crate blackboard 1.1.0 [INFO] tweaked toml for crates.io crate blackboard 1.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate blackboard 1.1.0 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26fa2a79a02098f5304c33c14a0ead41006e3ba4c22a2ba58656aef4a4d6bd30 [INFO] running `Command { std: "docker" "start" "-a" "26fa2a79a02098f5304c33c14a0ead41006e3ba4c22a2ba58656aef4a4d6bd30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26fa2a79a02098f5304c33c14a0ead41006e3ba4c22a2ba58656aef4a4d6bd30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26fa2a79a02098f5304c33c14a0ead41006e3ba4c22a2ba58656aef4a4d6bd30", kill_on_drop: false }` [INFO] [stdout] 26fa2a79a02098f5304c33c14a0ead41006e3ba4c22a2ba58656aef4a4d6bd30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84ecbf3ad415312181cb98cef6ce93da53849813cd5d699ca21cbe868d5a6920 [INFO] running `Command { std: "docker" "start" "-a" "84ecbf3ad415312181cb98cef6ce93da53849813cd5d699ca21cbe868d5a6920", kill_on_drop: false }` [INFO] [stderr] Checking blackboard v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/lib.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 155 | fn change(_: &&str) { [INFO] [stdout] | ------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 159 | bb.subscribe("Park", change); [INFO] [stdout] | --------- ^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a> fn(&'a mut &_) -> _` [INFO] [stdout] found function signature `fn(&&_) -> _` [INFO] [stdout] note: required for `for<'a, 'b> fn(&'a &'b str) {change}` to implement `Subscriptor<&str>` [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Subscriptor for F [INFO] [stdout] | ^^^^^^^^^^^^^^ ^ [INFO] [stdout] 11 | where F: FnMut(&mut T) [INFO] [stdout] | ------------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `BlackBoard::<'a, Section, Type>::subscribe` [INFO] [stdout] --> src/lib.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn subscribe( [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 70 | subscriptor: impl Subscriptor + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `BlackBoard::<'a, Section, Type>::subscribe` [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 159 | bb.subscribe("Park", |arg0: &mut &str| change(&&**arg0)); [INFO] [stdout] | +++++++++++++++++ ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blackboard` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Kitchen` is never constructed [INFO] [stdout] --> src/main.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Kitchen { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kitchen` is never constructed [INFO] [stdout] --> src/main.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Kitchen { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `roast` and `bake` are never used [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Kitchen { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 8 | fn roast(&mut self, food: &mut &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn bake(&mut self, food: &mut &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `roast` and `bake` are never used [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Kitchen { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 8 | fn roast(&mut self, food: &mut &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn bake(&mut self, food: &mut &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "84ecbf3ad415312181cb98cef6ce93da53849813cd5d699ca21cbe868d5a6920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84ecbf3ad415312181cb98cef6ce93da53849813cd5d699ca21cbe868d5a6920", kill_on_drop: false }` [INFO] [stdout] 84ecbf3ad415312181cb98cef6ce93da53849813cd5d699ca21cbe868d5a6920