[INFO] fetching crate flag-rs 0.7.2... [INFO] checking flag-rs-0.7.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate flag-rs 0.7.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate flag-rs 0.7.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate flag-rs 0.7.2 [INFO] tweaked toml for crates.io crate flag-rs 0.7.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flag-rs 0.7.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flag-rs 0.7.2 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f07abc853bee14b915a6a1333054426e6afebad44c8b061a4f8618237958814 [INFO] running `Command { std: "docker" "start" "-a" "1f07abc853bee14b915a6a1333054426e6afebad44c8b061a4f8618237958814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f07abc853bee14b915a6a1333054426e6afebad44c8b061a4f8618237958814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f07abc853bee14b915a6a1333054426e6afebad44c8b061a4f8618237958814", kill_on_drop: false }` [INFO] [stdout] 1f07abc853bee14b915a6a1333054426e6afebad44c8b061a4f8618237958814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8128d0e1894872137d4b8a9dccda927adfdb854c64a22fb1ff420541e0de775 [INFO] running `Command { std: "docker" "start" "-a" "e8128d0e1894872137d4b8a9dccda927adfdb854c64a22fb1ff420541e0de775", 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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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-2747306377921016595.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(&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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/marker.rs:822:12 [INFO] [stdout] note: required because it appears within the type `Unique Result<..., ...> + Send + Sync>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Option Result<..., ...> + Send + Sync>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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-14242142534335457822.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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/sync.rs:370:8 [INFO] [stdout] note: required because it appears within the type `PhantomData ... + Send + Sync>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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-12224196983856068491.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] [stderr] error: could not compile `flag-rs` (bench "benchmark") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e8128d0e1894872137d4b8a9dccda927adfdb854c64a22fb1ff420541e0de775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8128d0e1894872137d4b8a9dccda927adfdb854c64a22fb1ff420541e0de775", kill_on_drop: false }` [INFO] [stdout] e8128d0e1894872137d4b8a9dccda927adfdb854c64a22fb1ff420541e0de775