[INFO] fetching crate rp1 0.3.1... [INFO] testing rp1-0.3.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate rp1 0.3.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate rp1 0.3.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rp1 0.3.1 [INFO] finished tweaking crates.io crate rp1 0.3.1 [INFO] tweaked toml for crates.io crate rp1 0.3.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76b91f98decd12e3eac465a0eec7b001ffdc6cde017dec1ef5921029568923ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "76b91f98decd12e3eac465a0eec7b001ffdc6cde017dec1ef5921029568923ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76b91f98decd12e3eac465a0eec7b001ffdc6cde017dec1ef5921029568923ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76b91f98decd12e3eac465a0eec7b001ffdc6cde017dec1ef5921029568923ae", kill_on_drop: false }` [INFO] [stdout] 76b91f98decd12e3eac465a0eec7b001ffdc6cde017dec1ef5921029568923ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956a3c8ab6aaa70de5aeea007e61aad64a61945cc035c7c44af5cec0f041f76d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "956a3c8ab6aaa70de5aeea007e61aad64a61945cc035c7c44af5cec0f041f76d", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling rp1-macros v0.3.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rp1 v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "956a3c8ab6aaa70de5aeea007e61aad64a61945cc035c7c44af5cec0f041f76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956a3c8ab6aaa70de5aeea007e61aad64a61945cc035c7c44af5cec0f041f76d", kill_on_drop: false }` [INFO] [stdout] 956a3c8ab6aaa70de5aeea007e61aad64a61945cc035c7c44af5cec0f041f76d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a743fc1debe1cffab983de1e9b5e493f85dd18187534e76a8c11fac7e0d9fb57 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a743fc1debe1cffab983de1e9b5e493f85dd18187534e76a8c11fac7e0d9fb57", kill_on_drop: false }` [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling rp1 v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.88s [INFO] running `Command { std: "docker" "inspect" "a743fc1debe1cffab983de1e9b5e493f85dd18187534e76a8c11fac7e0d9fb57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a743fc1debe1cffab983de1e9b5e493f85dd18187534e76a8c11fac7e0d9fb57", kill_on_drop: false }` [INFO] [stdout] a743fc1debe1cffab983de1e9b5e493f85dd18187534e76a8c11fac7e0d9fb57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c1a6aeb0ba44eaee9e7ef932f5c80d43162b51ed0d436a38946603e30b8ef213 [INFO] running `Command { std: "docker" "start" "-a" "c1a6aeb0ba44eaee9e7ef932f5c80d43162b51ed0d436a38946603e30b8ef213", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rp1-fe146c8fd5de6236) [INFO] [stdout] [INFO] [stderr] Doc-tests rp1 [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 88) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0468`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `schema` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `schema` in the crate root [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `schema` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `columns` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `columns` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Db` in this scope [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0468. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c1a6aeb0ba44eaee9e7ef932f5c80d43162b51ed0d436a38946603e30b8ef213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a6aeb0ba44eaee9e7ef932f5c80d43162b51ed0d436a38946603e30b8ef213", kill_on_drop: false }` [INFO] [stdout] c1a6aeb0ba44eaee9e7ef932f5c80d43162b51ed0d436a38946603e30b8ef213