[INFO] fetching crate postguard 0.1.0... [INFO] testing postguard-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate postguard 0.1.0 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate postguard 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 140 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libpgquery-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23c42bc6f518eaf965cf7ccde8a9da2b92f9a38c5c58e9aca1fa65053a8317c6 [INFO] running `Command { std: "docker" "start" "-a" "23c42bc6f518eaf965cf7ccde8a9da2b92f9a38c5c58e9aca1fa65053a8317c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23c42bc6f518eaf965cf7ccde8a9da2b92f9a38c5c58e9aca1fa65053a8317c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23c42bc6f518eaf965cf7ccde8a9da2b92f9a38c5c58e9aca1fa65053a8317c6", kill_on_drop: false }` [INFO] [stdout] 23c42bc6f518eaf965cf7ccde8a9da2b92f9a38c5c58e9aca1fa65053a8317c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b3dc4cf1b12c2688a3673574cc49f23c537265e4e2441afa086937aa2bc7084 [INFO] running `Command { std: "docker" "start" "-a" "8b3dc4cf1b12c2688a3673574cc49f23c537265e4e2441afa086937aa2bc7084", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [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 21.87s [INFO] running `Command { std: "docker" "inspect" "8b3dc4cf1b12c2688a3673574cc49f23c537265e4e2441afa086937aa2bc7084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3dc4cf1b12c2688a3673574cc49f23c537265e4e2441afa086937aa2bc7084", kill_on_drop: false }` [INFO] [stdout] 8b3dc4cf1b12c2688a3673574cc49f23c537265e4e2441afa086937aa2bc7084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88f4b0e5eeec912ea340eb427fa3692e3f5f566c1fdf99282a2335c71a546be3 [INFO] running `Command { std: "docker" "start" "-a" "88f4b0e5eeec912ea340eb427fa3692e3f5f566c1fdf99282a2335c71a546be3", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-test-macro v0.1.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling serde_json v1.0.143 [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 20.92s [INFO] running `Command { std: "docker" "inspect" "88f4b0e5eeec912ea340eb427fa3692e3f5f566c1fdf99282a2335c71a546be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f4b0e5eeec912ea340eb427fa3692e3f5f566c1fdf99282a2335c71a546be3", kill_on_drop: false }` [INFO] [stdout] 88f4b0e5eeec912ea340eb427fa3692e3f5f566c1fdf99282a2335c71a546be3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0c51143f94d10f2d77afe09b1c7c0419461f0413f0880b3afd67e7d4a426e86 [INFO] running `Command { std: "docker" "start" "-a" "a0c51143f94d10f2d77afe09b1c7c0419461f0413f0880b3afd67e7d4a426e86", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/postguard-d32187e9ebb67fe7) [INFO] [stdout] running 9 tests [INFO] [stderr] Doc-tests postguard [INFO] [stdout] test test::rejects_privileged_queries ... ok [INFO] [stdout] test test::parses_complex_queries ... ok [INFO] [stdout] test test::selectively_rejects_disallowed_statements_in_ctes ... ok [INFO] [stdout] test test::does_nothing_without_restrictions ... ok [INFO] [stdout] test test::selectively_rejects_disallowed_functions ... ok [INFO] [stdout] test test::parses_simple_queries ... ok [INFO] [stdout] test test::rejects_nested_disallowed_functions ... ok [INFO] [stdout] test test::rejects_top_level_disallowed_functions ... ok [INFO] [stdout] test test::rejects_invalid_queries ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [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.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0c51143f94d10f2d77afe09b1c7c0419461f0413f0880b3afd67e7d4a426e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0c51143f94d10f2d77afe09b1c7c0419461f0413f0880b3afd67e7d4a426e86", kill_on_drop: false }` [INFO] [stdout] a0c51143f94d10f2d77afe09b1c7c0419461f0413f0880b3afd67e7d4a426e86