[INFO] cloning repository https://github.com/twizmwazin/binharness-agent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twizmwazin/binharness-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwizmwazin%2Fbinharness-agent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwizmwazin%2Fbinharness-agent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f3bcf0ff91afa046ec7198cf71d56093e4d548e [INFO] checking twizmwazin/binharness-agent against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwizmwazin%2Fbinharness-agent" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/twizmwazin/binharness-agent on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/twizmwazin/binharness-agent [INFO] finished tweaking git repo https://github.com/twizmwazin/binharness-agent [INFO] tweaked toml for git repo https://github.com/twizmwazin/binharness-agent written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/twizmwazin/binharness-agent 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" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tarpc v0.33.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf946e8e1e10622257ceb450940dcf07204ee032366254276550d70f577b978e [INFO] running `Command { std: "docker" "start" "-a" "cf946e8e1e10622257ceb450940dcf07204ee032366254276550d70f577b978e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf946e8e1e10622257ceb450940dcf07204ee032366254276550d70f577b978e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf946e8e1e10622257ceb450940dcf07204ee032366254276550d70f577b978e", kill_on_drop: false }` [INFO] [stdout] cf946e8e1e10622257ceb450940dcf07204ee032366254276550d70f577b978e [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e7ed946aeae84f1cea41d343fbcff1bbf7fd0c2c14e9f66c7d281de3dee592e [INFO] running `Command { std: "docker" "start" "-a" "3e7ed946aeae84f1cea41d343fbcff1bbf7fd0c2c14e9f66c7d281de3dee592e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking subprocess v0.2.9 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling tarpc-plugins v0.12.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling enum-ordinalize v3.1.13 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking opentelemetry_api v0.18.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking opentelemetry_sdk v0.18.0 [INFO] [stderr] Checking opentelemetry v0.18.0 [INFO] [stderr] Checking tracing-opentelemetry v0.18.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking tarpc v0.33.0 [INFO] [stderr] Checking bh_agent_common v0.1.0 (/opt/rustwide/workdir/bh_agent_common) [INFO] [stderr] Checking bh_agent_server v0.1.0 (/opt/rustwide/workdir/bh_agent_server) [INFO] [stderr] Checking bh_agent_client v0.1.0 (/opt/rustwide/workdir/bh_agent_client) [INFO] [stdout] warning: use of deprecated constant `pyo3::impl_::deprecations::REQUIRED_ARGUMENT_AFTER_OPTION`: required arguments after an `Option<_>` argument are ambiguous and being phased out [INFO] [stdout] = help: add a `#[pyo3(signature)]` annotation on this function to unambiguously specify the default values for all optional parameters [INFO] [stdout] --> bh_agent_client/src/bindings.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | setpgid: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `pyo3::impl_::deprecations::REQUIRED_ARGUMENT_AFTER_OPTION`: required arguments after an `Option<_>` argument are ambiguous and being phased out [INFO] [stdout] = help: add a `#[pyo3(signature)]` annotation on this function to unambiguously specify the default values for all optional parameters [INFO] [stdout] --> bh_agent_client/src/bindings.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | setpgid: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bh_agent_server/src/state.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | popenconfig.setpgid = config.setuid.or(popenconfig.setpgid); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ expected `Option`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `bool` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/44e31dee3cf6f37b4f652572897bb0eb25c477ee/library/core/src/option.rs:1524:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bh_agent_server/src/state.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | popenconfig.setpgid = config.setuid.or(popenconfig.setpgid); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 138 | popenconfig.setpgid = config.setuid.or(popenconfig.setpgid).is_some(); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bh_agent_server/src/state.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | popenconfig.setpgid = config.setuid.or(popenconfig.setpgid); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ expected `Option`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `bool` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/44e31dee3cf6f37b4f652572897bb0eb25c477ee/library/core/src/option.rs:1524:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bh_agent_server/src/state.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | popenconfig.setpgid = config.setuid.or(popenconfig.setpgid); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 138 | popenconfig.setpgid = config.setuid.or(popenconfig.setpgid).is_some(); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hint` [INFO] [stdout] --> bh_agent_server/src/server.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | hint: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> bh_agent_server/src/server.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | fd: FileId, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> bh_agent_server/src/server.rs:204:59 [INFO] [stdout] | [INFO] [stdout] 204 | fn file_tell(self, _: Context, env_id: EnvironmentId, fd: FileId) -> Self::FileTellFut { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hint` [INFO] [stdout] --> bh_agent_server/src/server.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | hint: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> bh_agent_server/src/server.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | fd: FileId, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> bh_agent_server/src/server.rs:204:59 [INFO] [stdout] | [INFO] [stdout] 204 | fn file_tell(self, _: Context, env_id: EnvironmentId, fd: FileId) -> Self::FileTellFut { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bh_agent_server` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bh_agent_server` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e7ed946aeae84f1cea41d343fbcff1bbf7fd0c2c14e9f66c7d281de3dee592e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7ed946aeae84f1cea41d343fbcff1bbf7fd0c2c14e9f66c7d281de3dee592e", kill_on_drop: false }` [INFO] [stdout] 3e7ed946aeae84f1cea41d343fbcff1bbf7fd0c2c14e9f66c7d281de3dee592e