[INFO] cloning repository https://github.com/navicore/flag-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/navicore/flag-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavicore%2Fflag-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavicore%2Fflag-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 848e26cd3b180ef347792d7730eef1ba0e272570 [INFO] checking navicore/flag-rs against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavicore%2Fflag-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/navicore/flag-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/navicore/flag-rs [INFO] tweaked toml for git repo https://github.com/navicore/flag-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/navicore/flag-rs on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/navicore/flag-rs 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21df27f33d0fe077ae1b770bdc4c6d47997af790b8a06986f4718cf7951a709b [INFO] running `Command { std: "docker" "start" "-a" "21df27f33d0fe077ae1b770bdc4c6d47997af790b8a06986f4718cf7951a709b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21df27f33d0fe077ae1b770bdc4c6d47997af790b8a06986f4718cf7951a709b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21df27f33d0fe077ae1b770bdc4c6d47997af790b8a06986f4718cf7951a709b", kill_on_drop: false }` [INFO] [stdout] 21df27f33d0fe077ae1b770bdc4c6d47997af790b8a06986f4718cf7951a709b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb07649cfca9fdcb3747ec57971977a5fd36841b2c604b5c9ae03edbc7639e7 [INFO] running `Command { std: "docker" "start" "-a" "8cb07649cfca9fdcb3747ec57971977a5fd36841b2c604b5c9ae03edbc7639e7", kill_on_drop: false }` [INFO] [stderr] Checking flag-rs v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the type `dyn Fn(&mut Context) -> Result<(), Error> + Send + Sync` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary [INFO] [stdout] --> benches/benchmark.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | let _ = std::panic::catch_unwind(|| { [INFO] [stdout] | _________________------------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 342 | | simple.print_help(); [INFO] [stdout] 343 | | }); [INFO] [stdout] | |_________^ `dyn Fn(&mut Context) -> Result<(), Error> + Send + Sync` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary [INFO] [stdout] | [INFO] [stdout] = help: within `flag_rs::Command`, the trait `RefUnwindSafe` is not implemented for `dyn Fn(&mut Context) -> Result<(), Error> + Send + Sync` [INFO] [stdout] note: required because it appears within the type `PhantomData Result<(), Error> + Send + Sync>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/marker.rs:822:12 [INFO] [stdout] note: required because it appears within the type `Unique Result<(), Error> + Send + Sync>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/ptr/unique.rs:35:12 [INFO] [stdout] note: required because it appears within the type `Box Result<(), Error> + Send + Sync>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Option Result<(), Error> + Send + Sync>>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:593:10 [INFO] [stdout] note: required because it appears within the type `flag_rs::Command` [INFO] [stdout] --> /opt/rustwide/workdir/src/command.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `&flag_rs::Command` to implement `UnwindSafe` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> benches/benchmark.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | let _ = std::panic::catch_unwind(|| { [INFO] [stdout] | ^^ [INFO] [stdout] note: required by a bound in `std::panic::catch_unwind` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/std/src/panic.rs:358:1 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/benchmark-f7cb77b92d5fcb06.long-type-10352514677082872069.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flag-rs` (bench "benchmark") due to 3 previous errors [INFO] [stdout] error[E0277]: the type `dyn Fn(&Context, &str) -> Result + Send + Sync` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary [INFO] [stdout] --> benches/benchmark.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | let _ = std::panic::catch_unwind(|| { [INFO] [stdout] | _________________------------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 342 | | simple.print_help(); [INFO] [stdout] 343 | | }); [INFO] [stdout] | |_________^ `dyn Fn(&Context, &str) -> Result + Send + Sync` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary [INFO] [stdout] | [INFO] [stdout] = help: within `flag_rs::Command`, the trait `RefUnwindSafe` is not implemented for `dyn Fn(&Context, &str) -> Result + Send + Sync` [INFO] [stdout] note: required because it appears within the type `PhantomData Result<..., ...> + Send + Sync>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/marker.rs:822:12 [INFO] [stdout] note: required because it appears within the type `Unique Result<..., ...> + Send + Sync>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/ptr/unique.rs:35:12 [INFO] [stdout] note: required because it appears within the type `Box Result<..., ...> + Send + Sync>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Option Result<..., ...> + Send + Sync>>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:593:10 [INFO] [stdout] note: required because it appears within the type `flag_rs::Command` [INFO] [stdout] --> /opt/rustwide/workdir/src/command.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `&flag_rs::Command` to implement `UnwindSafe` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> benches/benchmark.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | let _ = std::panic::catch_unwind(|| { [INFO] [stdout] | ^^ [INFO] [stdout] note: required by a bound in `std::panic::catch_unwind` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/std/src/panic.rs:358:1 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/benchmark-f7cb77b92d5fcb06.long-type-5180266986083878846.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `dyn Fn(&[String]) -> Result<(), Error> + Send + Sync` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary [INFO] [stdout] --> benches/benchmark.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | let _ = std::panic::catch_unwind(|| { [INFO] [stdout] | _________________------------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 342 | | simple.print_help(); [INFO] [stdout] 343 | | }); [INFO] [stdout] | |_________^ `dyn Fn(&[String]) -> Result<(), Error> + Send + Sync` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary [INFO] [stdout] | [INFO] [stdout] = help: within `flag_rs::Command`, the trait `RefUnwindSafe` is not implemented for `dyn Fn(&[String]) -> Result<(), Error> + Send + Sync` [INFO] [stdout] note: required because it appears within the type `ArcInner Result<(), Error> + Send + Sync>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/alloc/src/sync.rs:370:8 [INFO] [stdout] note: required because it appears within the type `PhantomData ... + Send + Sync>>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/marker.rs:822:12 [INFO] [stdout] note: required because it appears within the type `Arc Result<(), Error> + Send + Sync>` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/alloc/src/sync.rs:261:12 [INFO] [stdout] note: required because it appears within the type `ArgValidator` [INFO] [stdout] --> /opt/rustwide/workdir/src/validator.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ArgValidator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Option` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:593:10 [INFO] [stdout] note: required because it appears within the type `flag_rs::Command` [INFO] [stdout] --> /opt/rustwide/workdir/src/command.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `&flag_rs::Command` to implement `UnwindSafe` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> benches/benchmark.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | let _ = std::panic::catch_unwind(|| { [INFO] [stdout] | ^^ [INFO] [stdout] note: required by a bound in `std::panic::catch_unwind` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/std/src/panic.rs:358:1 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/benchmark-f7cb77b92d5fcb06.long-type-14005347177424498147.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8cb07649cfca9fdcb3747ec57971977a5fd36841b2c604b5c9ae03edbc7639e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb07649cfca9fdcb3747ec57971977a5fd36841b2c604b5c9ae03edbc7639e7", kill_on_drop: false }` [INFO] [stdout] 8cb07649cfca9fdcb3747ec57971977a5fd36841b2c604b5c9ae03edbc7639e7