[INFO] fetching crate memoize 0.1.7... [INFO] checking memoize-0.1.7 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate memoize 0.1.7 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate memoize 0.1.7 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7efaf16df6316943a1d67d9d69bd3056b27df4f419a8b9018729a6162c565a3 [INFO] running `Command { std: "docker" "start" "-a" "c7efaf16df6316943a1d67d9d69bd3056b27df4f419a8b9018729a6162c565a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7efaf16df6316943a1d67d9d69bd3056b27df4f419a8b9018729a6162c565a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7efaf16df6316943a1d67d9d69bd3056b27df4f419a8b9018729a6162c565a3", kill_on_drop: false }` [INFO] [stdout] c7efaf16df6316943a1d67d9d69bd3056b27df4f419a8b9018729a6162c565a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df0e8b3501d151b3f55bfcc32ee7331214024a28beb58b55dc5286089d6129d5 [INFO] running `Command { std: "docker" "start" "-a" "df0e8b3501d151b3f55bfcc32ee7331214024a28beb58b55dc5286089d6129d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.44 [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" "df0e8b3501d151b3f55bfcc32ee7331214024a28beb58b55dc5286089d6129d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df0e8b3501d151b3f55bfcc32ee7331214024a28beb58b55dc5286089d6129d5", kill_on_drop: false }` [INFO] [stdout] df0e8b3501d151b3f55bfcc32ee7331214024a28beb58b55dc5286089d6129d5