[INFO] fetching crate overloadable 0.4.1... [INFO] checking overloadable-0.4.1 against try#f82303294ca6add47eea966608ce02688928f965 for pr-107123-1 [INFO] extracting crate overloadable 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate overloadable 0.4.1 on toolchain f82303294ca6add47eea966608ce02688928f965 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f82303294ca6add47eea966608ce02688928f965" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate overloadable 0.4.1 [INFO] finished tweaking crates.io crate overloadable 0.4.1 [INFO] tweaked toml for crates.io crate overloadable 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f82303294ca6add47eea966608ce02688928f965" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f82303294ca6add47eea966608ce02688928f965" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+f82303294ca6add47eea966608ce02688928f965" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7ccb33b2195a97a3ee344ee2b667b78f3a4caae8b86cdac3121e5b2c33d8fcd [INFO] running `Command { std: "docker" "start" "-a" "e7ccb33b2195a97a3ee344ee2b667b78f3a4caae8b86cdac3121e5b2c33d8fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7ccb33b2195a97a3ee344ee2b667b78f3a4caae8b86cdac3121e5b2c33d8fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ccb33b2195a97a3ee344ee2b667b78f3a4caae8b86cdac3121e5b2c33d8fcd", kill_on_drop: false }` [INFO] [stdout] e7ccb33b2195a97a3ee344ee2b667b78f3a4caae8b86cdac3121e5b2c33d8fcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+f82303294ca6add47eea966608ce02688928f965" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1151518139d39de6f0d38d4c4a12bdf05f745b355b73a57f6e657a6b0a24689e [INFO] running `Command { std: "docker" "start" "-a" "1151518139d39de6f0d38d4c4a12bdf05f745b355b73a57f6e657a6b0a24689e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking overloadable v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> tests/default.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn(&self) -> usize {1} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 38 - fn(&self) -> usize {1} [INFO] [stdout] 38 + fn(&self) -> usize 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<(usize,)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<(usize,)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] = note: required for `func_name` to implement `FnOnce<(usize,)>` [INFO] [stdout] = note: required for `func_name` to implement `FnMut<(usize,)>` [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:76:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<(usize,)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<(usize,)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:243:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<(usize,)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<(usize,)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] = note: required for `func_name` to implement `FnOnce<(usize,)>` [INFO] [stdout] note: required by a bound in `FnMut` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:163:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<((T, usize),)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<((T, usize),)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] = note: required for `func_name` to implement `FnOnce<((T, usize),)>` [INFO] [stdout] = note: required for `func_name` to implement `FnMut<((T, usize),)>` [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:76:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<((T, usize),)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<((T, usize),)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:243:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<((T, usize),)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<((T, usize),)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] = note: required for `func_name` to implement `FnOnce<((T, usize),)>` [INFO] [stdout] note: required by a bound in `FnMut` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:163:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<(&mut &'a str, &'b str)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<(&mut &'a str, &'b str)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] = note: required for `func_name` to implement `FnOnce<(&mut &'a str, &'b str)>` [INFO] [stdout] = note: required for `func_name` to implement `FnMut<(&mut &'a str, &'b str)>` [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:76:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<(&mut &'a str, &'b str)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<(&mut &'a str, &'b str)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:243:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `func_name: Callable<(&mut &'a str, &'b str)>` is not satisfied [INFO] [stdout] --> tests/default.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) func_name as [INFO] [stdout] | ^^^^^^^^^ the trait `Callable<(&mut &'a str, &'b str)>` is not implemented for `func_name` [INFO] [stdout] | [INFO] [stdout] = note: required for `func_name` to implement `FnOnce<(&mut &'a str, &'b str)>` [INFO] [stdout] note: required by a bound in `FnMut` [INFO] [stdout] --> /rustc/f82303294ca6add47eea966608ce02688928f965/library/core/src/ops/function.rs:163:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `overloadable` (test "default") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1151518139d39de6f0d38d4c4a12bdf05f745b355b73a57f6e657a6b0a24689e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1151518139d39de6f0d38d4c4a12bdf05f745b355b73a57f6e657a6b0a24689e", kill_on_drop: false }` [INFO] [stdout] 1151518139d39de6f0d38d4c4a12bdf05f745b355b73a57f6e657a6b0a24689e