[INFO] cloning repository https://github.com/takaram/psr7-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takaram/psr7-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakaram%2Fpsr7-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakaram%2Fpsr7-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2242f90220fdb1623636916bbfd63e0eb8f99e2d [INFO] testing takaram/psr7-rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakaram%2Fpsr7-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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/takaram/psr7-rs [INFO] finished tweaking git repo https://github.com/takaram/psr7-rs [INFO] tweaked toml for git repo https://github.com/takaram/psr7-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/takaram/psr7-rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/takaram/psr7-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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afb43e99b9698ef2e2c51d1032ca95d90113447c007a74df65fd91b02e3b054f [INFO] running `Command { std: "docker" "start" "-a" "afb43e99b9698ef2e2c51d1032ca95d90113447c007a74df65fd91b02e3b054f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afb43e99b9698ef2e2c51d1032ca95d90113447c007a74df65fd91b02e3b054f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb43e99b9698ef2e2c51d1032ca95d90113447c007a74df65fd91b02e3b054f", kill_on_drop: false }` [INFO] [stdout] afb43e99b9698ef2e2c51d1032ca95d90113447c007a74df65fd91b02e3b054f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb4f5339c60944308061f05c6df8ffc3211e50a8fe89f93c20d424c3dba5d2b3 [INFO] running `Command { std: "docker" "start" "-a" "cb4f5339c60944308061f05c6df8ffc3211e50a8fe89f93c20d424c3dba5d2b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling ext-php-rs-derive v0.10.1 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ext-php-rs v0.12.0 [INFO] [stderr] Compiling psr7_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "cb4f5339c60944308061f05c6df8ffc3211e50a8fe89f93c20d424c3dba5d2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4f5339c60944308061f05c6df8ffc3211e50a8fe89f93c20d424c3dba5d2b3", kill_on_drop: false }` [INFO] [stdout] cb4f5339c60944308061f05c6df8ffc3211e50a8fe89f93c20d424c3dba5d2b3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3f97e0007404111f355227f456475c596ac38abed790a216ba7264969ea8287 [INFO] running `Command { std: "docker" "start" "-a" "c3f97e0007404111f355227f456475c596ac38abed790a216ba7264969ea8287", kill_on_drop: false }` [INFO] [stderr] Compiling psr7_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `get_body` found for enum `Result` in the current scope [INFO] [stdout] --> src/class/uploaded_file.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(stream.get_body(), "foobar".as_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `Result<&mut ZendClassObject, PhpException>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_body` exists on the type `&mut ext_php_rs::types::ZendClassObject` [INFO] [stdout] --> src/class/stream.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_body(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/psr7_rust-e362194ecaaa6fd6.long-type-2502254351080764646.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider using `Result::expect` to unwrap the `&mut ext_php_rs::types::ZendClassObject` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(stream.expect("REASON").get_body(), "foobar".as_bytes()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psr7_rust` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c3f97e0007404111f355227f456475c596ac38abed790a216ba7264969ea8287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f97e0007404111f355227f456475c596ac38abed790a216ba7264969ea8287", kill_on_drop: false }` [INFO] [stdout] c3f97e0007404111f355227f456475c596ac38abed790a216ba7264969ea8287