[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#0e1f5e292c80a395d02835ac656d141e992caf89 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavicore%2Fflag-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/navicore/flag-rs on toolchain 0e1f5e292c80a395d02835ac656d141e992caf89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e1f5e292c80a395d02835ac656d141e992caf89" "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" "+0e1f5e292c80a395d02835ac656d141e992caf89" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0e1f5e292c80a395d02835ac656d141e992caf89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04dcbdef61dcb66afc0104b0ed1314e1fb5c75322a39a83bb75a6ed37ed9f2f8 [INFO] running `Command { std: "docker" "start" "-a" "04dcbdef61dcb66afc0104b0ed1314e1fb5c75322a39a83bb75a6ed37ed9f2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04dcbdef61dcb66afc0104b0ed1314e1fb5c75322a39a83bb75a6ed37ed9f2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04dcbdef61dcb66afc0104b0ed1314e1fb5c75322a39a83bb75a6ed37ed9f2f8", kill_on_drop: false }` [INFO] [stdout] 04dcbdef61dcb66afc0104b0ed1314e1fb5c75322a39a83bb75a6ed37ed9f2f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0e1f5e292c80a395d02835ac656d141e992caf89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcdc6124dcf1a9e277c85cd4f9f728adc6b4c0fb909ca6dce99522610a379bde [INFO] running `Command { std: "docker" "start" "-a" "dcdc6124dcf1a9e277c85cd4f9f728adc6b4c0fb909ca6dce99522610a379bde", 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/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/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-9477672662087091936.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/0e1f5e292c80a395d02835ac656d141e992caf89/library/core/src/marker.rs:822:12 [INFO] [stdout] note: required because it appears within the type `Unique Result<..., ...> + Send + Sync>` [INFO] [stdout] --> /rustc/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Option Result<..., ...> + Send + Sync>>` [INFO] [stdout] --> /rustc/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/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-10801181605190324672.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/0e1f5e292c80a395d02835ac656d141e992caf89/library/alloc/src/sync.rs:370:8 [INFO] [stdout] note: required because it appears within the type `PhantomData ... + Send + Sync>>` [INFO] [stdout] --> /rustc/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/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/0e1f5e292c80a395d02835ac656d141e992caf89/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-17003897720923044014.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" "dcdc6124dcf1a9e277c85cd4f9f728adc6b4c0fb909ca6dce99522610a379bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcdc6124dcf1a9e277c85cd4f9f728adc6b4c0fb909ca6dce99522610a379bde", kill_on_drop: false }` [INFO] [stdout] dcdc6124dcf1a9e277c85cd4f9f728adc6b4c0fb909ca6dce99522610a379bde