[INFO] fetching crate memoize 0.1.7... [INFO] checking memoize-0.1.7 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate memoize 0.1.7 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate memoize 0.1.7 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate memoize 0.1.7 [INFO] finished tweaking crates.io crate memoize 0.1.7 [INFO] tweaked toml for crates.io crate memoize 0.1.7 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate memoize 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df20c065b6d5db97599a3b21f8e758b2a6dd323331bad5ade4e717764d73c872 [INFO] running `Command { std: "docker" "start" "-a" "df20c065b6d5db97599a3b21f8e758b2a6dd323331bad5ade4e717764d73c872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df20c065b6d5db97599a3b21f8e758b2a6dd323331bad5ade4e717764d73c872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df20c065b6d5db97599a3b21f8e758b2a6dd323331bad5ade4e717764d73c872", kill_on_drop: false }` [INFO] [stdout] df20c065b6d5db97599a3b21f8e758b2a6dd323331bad5ade4e717764d73c872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa725d6763af2531cf358490f1237cfd1aaa4c1b1407f6b18e56281eee5a975e [INFO] running `Command { std: "docker" "start" "-a" "fa725d6763af2531cf358490f1237cfd1aaa4c1b1407f6b18e56281eee5a975e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking memoize v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error: memoize error: Attributes are specified, but the feature 'full' is not enabled! To fix this, compile with `--features=full`. [INFO] [stdout] --> examples/full_featured.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[memoize(TimeToLive: Duration::from_secs(2), Capacity: 123)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> examples/full_featured.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `MEMOIZED_MAPPING_HELLO` in the current scope [INFO] [stdout] --> examples/full_featured.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[memoize(TimeToLive: Duration::from_secs(2), Capacity: 123)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method `lock` not found for this [INFO] [stdout] | method not found in `MEMOIZED_MAPPING_HELLO` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `memoize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/full_featured.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[memoize(TimeToLive: Duration::from_secs(2), Capacity: 123)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the attribute macro `memoize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `memoize` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fa725d6763af2531cf358490f1237cfd1aaa4c1b1407f6b18e56281eee5a975e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa725d6763af2531cf358490f1237cfd1aaa4c1b1407f6b18e56281eee5a975e", kill_on_drop: false }` [INFO] [stdout] fa725d6763af2531cf358490f1237cfd1aaa4c1b1407f6b18e56281eee5a975e