[INFO] fetching crate postguard 0.1.0... [INFO] testing postguard-0.1.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate postguard 0.1.0 into /workspace/builds/worker-69/source [INFO] validating manifest of crates.io crate postguard 0.1.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-69/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86c2623402c24979e3d1670ae1e2d1f2f9671f909aa7233859b9afe951ed2acb [INFO] running `Command { std: "docker" "start" "-a" "86c2623402c24979e3d1670ae1e2d1f2f9671f909aa7233859b9afe951ed2acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86c2623402c24979e3d1670ae1e2d1f2f9671f909aa7233859b9afe951ed2acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c2623402c24979e3d1670ae1e2d1f2f9671f909aa7233859b9afe951ed2acb", kill_on_drop: false }` [INFO] [stdout] 86c2623402c24979e3d1670ae1e2d1f2f9671f909aa7233859b9afe951ed2acb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b992eda5fae614ed045b4d51b765e7d787a97309a7fcad020fce83a23938b41 [INFO] running `Command { std: "docker" "start" "-a" "4b992eda5fae614ed045b4d51b765e7d787a97309a7fcad020fce83a23938b41", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling cexpr v0.5.0 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [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 [unoptimized + debuginfo] target(s) in 45.08s [INFO] running `Command { std: "docker" "inspect" "4b992eda5fae614ed045b4d51b765e7d787a97309a7fcad020fce83a23938b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b992eda5fae614ed045b4d51b765e7d787a97309a7fcad020fce83a23938b41", kill_on_drop: false }` [INFO] [stdout] 4b992eda5fae614ed045b4d51b765e7d787a97309a7fcad020fce83a23938b41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57a5685d06b5ac14dd8b2d301baa882a4e6c8ff52ca328c82cc9945e40b6656f [INFO] running `Command { std: "docker" "start" "-a" "57a5685d06b5ac14dd8b2d301baa882a4e6c8ff52ca328c82cc9945e40b6656f", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tracing-test-macro v0.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-test v0.1.0 [INFO] [stderr] Compiling postguard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.23s [INFO] running `Command { std: "docker" "inspect" "57a5685d06b5ac14dd8b2d301baa882a4e6c8ff52ca328c82cc9945e40b6656f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a5685d06b5ac14dd8b2d301baa882a4e6c8ff52ca328c82cc9945e40b6656f", kill_on_drop: false }` [INFO] [stdout] 57a5685d06b5ac14dd8b2d301baa882a4e6c8ff52ca328c82cc9945e40b6656f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e20c3c9d813ae112da8ad5847415e2c0b7437bcd609736ba9b1dea71d877dfae [INFO] running `Command { std: "docker" "start" "-a" "e20c3c9d813ae112da8ad5847415e2c0b7437bcd609736ba9b1dea71d877dfae", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/postguard-d2c81c943231ee50) [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::does_nothing_without_restrictions ... ok [INFO] [stdout] test test::rejects_invalid_queries ... ok [INFO] [stdout] test test::parses_simple_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] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e20c3c9d813ae112da8ad5847415e2c0b7437bcd609736ba9b1dea71d877dfae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20c3c9d813ae112da8ad5847415e2c0b7437bcd609736ba9b1dea71d877dfae", kill_on_drop: false }` [INFO] [stdout] e20c3c9d813ae112da8ad5847415e2c0b7437bcd609736ba9b1dea71d877dfae