[INFO] fetching crate postguard 0.1.0... [INFO] testing postguard-0.1.0 against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3 [INFO] extracting crate postguard 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate postguard 0.1.0 on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.11) [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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7651d59c3132d52dced284f093baaa54dda9796abf3048991d32f8082d532acf [INFO] running `Command { std: "docker" "start" "-a" "7651d59c3132d52dced284f093baaa54dda9796abf3048991d32f8082d532acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7651d59c3132d52dced284f093baaa54dda9796abf3048991d32f8082d532acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7651d59c3132d52dced284f093baaa54dda9796abf3048991d32f8082d532acf", kill_on_drop: false }` [INFO] [stdout] 7651d59c3132d52dced284f093baaa54dda9796abf3048991d32f8082d532acf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c67b6135d794f3bec998d86142bc98a96aaef287bb2f0e90e59ab2ca45f3e1a0 [INFO] running `Command { std: "docker" "start" "-a" "c67b6135d794f3bec998d86142bc98a96aaef287bb2f0e90e59ab2ca45f3e1a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [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 20.33s [INFO] running `Command { std: "docker" "inspect" "c67b6135d794f3bec998d86142bc98a96aaef287bb2f0e90e59ab2ca45f3e1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c67b6135d794f3bec998d86142bc98a96aaef287bb2f0e90e59ab2ca45f3e1a0", kill_on_drop: false }` [INFO] [stdout] c67b6135d794f3bec998d86142bc98a96aaef287bb2f0e90e59ab2ca45f3e1a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a918c4bebef98dcd46c14e8630dcc852ec6bea7e296c11320b6e42e9a177d767 [INFO] running `Command { std: "docker" "start" "-a" "a918c4bebef98dcd46c14e8630dcc852ec6bea7e296c11320b6e42e9a177d767", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-test-macro v0.1.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling libpgquery-sys v0.1.0 [INFO] [stderr] Compiling tracing-test v0.1.0 [INFO] [stderr] Compiling postguard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.18s [INFO] running `Command { std: "docker" "inspect" "a918c4bebef98dcd46c14e8630dcc852ec6bea7e296c11320b6e42e9a177d767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a918c4bebef98dcd46c14e8630dcc852ec6bea7e296c11320b6e42e9a177d767", kill_on_drop: false }` [INFO] [stdout] a918c4bebef98dcd46c14e8630dcc852ec6bea7e296c11320b6e42e9a177d767 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b84c86c940848461d58ffb3606992b56283a2dca18cf9f10a333d22252eb49b [INFO] running `Command { std: "docker" "start" "-a" "7b84c86c940848461d58ffb3606992b56283a2dca18cf9f10a333d22252eb49b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/postguard-62027bb34623ad60) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test::rejects_privileged_queries ... ok [INFO] [stdout] test test::selectively_rejects_disallowed_statements_in_ctes ... ok [INFO] [stdout] test test::parses_complex_queries ... ok [INFO] [stdout] test test::rejects_invalid_queries ... ok [INFO] [stdout] test test::does_nothing_without_restrictions ... ok [INFO] [stdout] test test::selectively_rejects_disallowed_functions ... ok [INFO] [stdout] test test::rejects_top_level_disallowed_functions ... ok [INFO] [stdout] test test::parses_simple_queries ... ok [INFO] [stdout] test test::rejects_nested_disallowed_functions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b84c86c940848461d58ffb3606992b56283a2dca18cf9f10a333d22252eb49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b84c86c940848461d58ffb3606992b56283a2dca18cf9f10a333d22252eb49b", kill_on_drop: false }` [INFO] [stdout] 7b84c86c940848461d58ffb3606992b56283a2dca18cf9f10a333d22252eb49b