[INFO] fetching crate postguard 0.1.0... [INFO] testing postguard-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate postguard 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate postguard 0.1.0 [INFO] finished tweaking crates.io crate postguard 0.1.0 [INFO] tweaked toml for crates.io crate postguard 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate postguard 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 133 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tracing-test v0.1.0 (available: v0.2.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bb80140d455a5f054b9b0098b49e0b285e02f72f9544ba29a20bf6ba75fca62 [INFO] running `Command { std: "docker" "start" "-a" "1bb80140d455a5f054b9b0098b49e0b285e02f72f9544ba29a20bf6ba75fca62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bb80140d455a5f054b9b0098b49e0b285e02f72f9544ba29a20bf6ba75fca62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bb80140d455a5f054b9b0098b49e0b285e02f72f9544ba29a20bf6ba75fca62", kill_on_drop: false }` [INFO] [stdout] 1bb80140d455a5f054b9b0098b49e0b285e02f72f9544ba29a20bf6ba75fca62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b50e1400e157be63d1b0eef23d102227a8922f4e3ef5fd5dcf5b251b16a1b83 [INFO] running `Command { std: "docker" "start" "-a" "9b50e1400e157be63d1b0eef23d102227a8922f4e3ef5fd5dcf5b251b16a1b83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libpgquery-sys v0.1.0 [INFO] [stderr] Compiling postguard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.48s [INFO] running `Command { std: "docker" "inspect" "9b50e1400e157be63d1b0eef23d102227a8922f4e3ef5fd5dcf5b251b16a1b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b50e1400e157be63d1b0eef23d102227a8922f4e3ef5fd5dcf5b251b16a1b83", kill_on_drop: false }` [INFO] [stdout] 9b50e1400e157be63d1b0eef23d102227a8922f4e3ef5fd5dcf5b251b16a1b83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cfc6550038b88e7996c9b0e1ed3551d8b320b3e13e3780d72e47d6e9e934942 [INFO] running `Command { std: "docker" "start" "-a" "1cfc6550038b88e7996c9b0e1ed3551d8b320b3e13e3780d72e47d6e9e934942", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tracing-test-macro v0.1.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-test v0.1.0 [INFO] [stderr] Compiling libpgquery-sys v0.1.0 [INFO] [stderr] Compiling postguard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.72s [INFO] running `Command { std: "docker" "inspect" "1cfc6550038b88e7996c9b0e1ed3551d8b320b3e13e3780d72e47d6e9e934942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfc6550038b88e7996c9b0e1ed3551d8b320b3e13e3780d72e47d6e9e934942", kill_on_drop: false }` [INFO] [stdout] 1cfc6550038b88e7996c9b0e1ed3551d8b320b3e13e3780d72e47d6e9e934942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73e2fa71284d09b9e64851076f1bbc90d0d2a90a407b7dfb058e58223c49e533 [INFO] running `Command { std: "docker" "start" "-a" "73e2fa71284d09b9e64851076f1bbc90d0d2a90a407b7dfb058e58223c49e533", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/postguard-313dd3c16db6386a) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test::selectively_rejects_disallowed_statements_in_ctes ... ok [INFO] [stdout] test test::rejects_privileged_queries ... ok [INFO] [stdout] test test::parses_complex_queries ... ok [INFO] [stdout] test test::rejects_invalid_queries ... ok [INFO] [stdout] test test::rejects_top_level_disallowed_functions ... ok [INFO] [stdout] test test::selectively_rejects_disallowed_functions ... ok [INFO] [stdout] test test::rejects_nested_disallowed_functions ... ok [INFO] [stdout] test test::parses_simple_queries ... ok [INFO] [stdout] test test::does_nothing_without_restrictions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Doc-tests postguard [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "73e2fa71284d09b9e64851076f1bbc90d0d2a90a407b7dfb058e58223c49e533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e2fa71284d09b9e64851076f1bbc90d0d2a90a407b7dfb058e58223c49e533", kill_on_drop: false }` [INFO] [stdout] 73e2fa71284d09b9e64851076f1bbc90d0d2a90a407b7dfb058e58223c49e533