[INFO] fetching crate selfish 0.1.0... [INFO] building selfish-0.1.0 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate selfish 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate selfish 0.1.0 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate selfish 0.1.0 [INFO] finished tweaking crates.io crate selfish 0.1.0 [INFO] tweaked toml for crates.io crate selfish 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding nom v3.2.1 (available: v8.0.0) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.1) [INFO] [stderr] Adding rustyline v1.0.0 (available: v16.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e5422461f169efa039c983a407ac93036313da4f0e0c59c1109a80799763e29 [INFO] running `Command { std: "docker" "start" "-a" "6e5422461f169efa039c983a407ac93036313da4f0e0c59c1109a80799763e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e5422461f169efa039c983a407ac93036313da4f0e0c59c1109a80799763e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e5422461f169efa039c983a407ac93036313da4f0e0c59c1109a80799763e29", kill_on_drop: false }` [INFO] [stdout] 6e5422461f169efa039c983a407ac93036313da4f0e0c59c1109a80799763e29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebbf295ba0f8412cc77f296b0d149430c9c3323f76f2ddf3da107e56ff2b07b8 [INFO] running `Command { std: "docker" "start" "-a" "ebbf295ba0f8412cc77f296b0d149430c9c3323f76f2ddf3da107e56ff2b07b8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling selfish v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ebbf295ba0f8412cc77f296b0d149430c9c3323f76f2ddf3da107e56ff2b07b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebbf295ba0f8412cc77f296b0d149430c9c3323f76f2ddf3da107e56ff2b07b8", kill_on_drop: false }` [INFO] [stdout] ebbf295ba0f8412cc77f296b0d149430c9c3323f76f2ddf3da107e56ff2b07b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a0fbdb52e09c07a9e696ce0397766a9762429566cdbddb62a09690d10501a5a [INFO] running `Command { std: "docker" "start" "-a" "2a0fbdb52e09c07a9e696ce0397766a9762429566cdbddb62a09690d10501a5a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling selfish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(atom(&b"true"[..]), IResult::Done(&b""[..], Type::Boolean(true))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:314:40 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(atom(&b"true"[..]), IResult::Done(&b""[..], Type::Boolean(true))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 314 - assert_eq!(atom(&b"true"[..]), IResult::Done(&b""[..], Type::Boolean(true))); [INFO] [stdout] 314 + assert_eq!(atom(&b"true"[..]), Result::Done(&b""[..], Type::Boolean(true))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | assert_eq!(atom(&b"false"[..]), IResult::Done(&b""[..], Type::Boolean(false))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:315:41 [INFO] [stdout] | [INFO] [stdout] 315 | assert_eq!(atom(&b"false"[..]), IResult::Done(&b""[..], Type::Boolean(false))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 315 - assert_eq!(atom(&b"false"[..]), IResult::Done(&b""[..], Type::Boolean(false))); [INFO] [stdout] 315 + assert_eq!(atom(&b"false"[..]), Result::Done(&b""[..], Type::Boolean(false))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(atom(&b"function"[..]), IResult::Done(&b""[..], Type::Symbol("function".to_owned()))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:316:44 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(atom(&b"function"[..]), IResult::Done(&b""[..], Type::Symbol("function".to_owned()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 316 - assert_eq!(atom(&b"function"[..]), IResult::Done(&b""[..], Type::Symbol("function".to_owned()))); [INFO] [stdout] 316 + assert_eq!(atom(&b"function"[..]), Result::Done(&b""[..], Type::Symbol("function".to_owned()))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(atom(&b":keyword"[..]), IResult::Done(&b""[..], Type::Keyword("keyword".to_owned()))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:317:44 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(atom(&b":keyword"[..]), IResult::Done(&b""[..], Type::Keyword("keyword".to_owned()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 317 - assert_eq!(atom(&b":keyword"[..]), IResult::Done(&b""[..], Type::Keyword("keyword".to_owned()))); [INFO] [stdout] 317 + assert_eq!(atom(&b":keyword"[..]), Result::Done(&b""[..], Type::Keyword("keyword".to_owned()))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:322:20 [INFO] [stdout] | [INFO] [stdout] 313 | fn atoms() { [INFO] [stdout] | ---------- similarly named function `atoms` defined here [INFO] [stdout] ... [INFO] [stdout] 322 | assert_eq!(atom(&b"32"[..]), IResult::Done(&b""[..], Type::Int(32))); [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `atoms` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:322:38 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(atom(&b"32"[..]), IResult::Done(&b""[..], Type::Int(32))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 322 - assert_eq!(atom(&b"32"[..]), IResult::Done(&b""[..], Type::Int(32))); [INFO] [stdout] 322 + assert_eq!(atom(&b"32"[..]), Result::Done(&b""[..], Type::Int(32))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 313 | fn atoms() { [INFO] [stdout] | ---------- similarly named function `atoms` defined here [INFO] [stdout] ... [INFO] [stdout] 323 | assert_eq!(atom(&b"-32321"[..]), IResult::Done(&b""[..], Type::Int(-32321))); [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `atoms` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:323:42 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(atom(&b"-32321"[..]), IResult::Done(&b""[..], Type::Int(-32321))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 323 - assert_eq!(atom(&b"-32321"[..]), IResult::Done(&b""[..], Type::Int(-32321))); [INFO] [stdout] 323 + assert_eq!(atom(&b"-32321"[..]), Result::Done(&b""[..], Type::Int(-32321))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 313 | fn atoms() { [INFO] [stdout] | ---------- similarly named function `atoms` defined here [INFO] [stdout] ... [INFO] [stdout] 328 | assert_eq!(atom(&b"1.3"[..]), IResult::Done(&b""[..], Type::Float(1.3))); [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `atoms` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | assert_eq!(atom(&b"1.3"[..]), IResult::Done(&b""[..], Type::Float(1.3))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 328 - assert_eq!(atom(&b"1.3"[..]), IResult::Done(&b""[..], Type::Float(1.3))); [INFO] [stdout] 328 + assert_eq!(atom(&b"1.3"[..]), Result::Done(&b""[..], Type::Float(1.3))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 313 | fn atoms() { [INFO] [stdout] | ---------- similarly named function `atoms` defined here [INFO] [stdout] ... [INFO] [stdout] 333 | assert_eq!(atom(&b"\"some string\""[..]), IResult::Done(&b""[..], [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `atoms` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:333:51 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(atom(&b"\"some string\""[..]), IResult::Done(&b""[..], [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 333 - assert_eq!(atom(&b"\"some string\""[..]), IResult::Done(&b""[..], [INFO] [stdout] 333 + assert_eq!(atom(&b"\"some string\""[..]), Result::Done(&b""[..], [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atom` in this scope [INFO] [stdout] --> src/lib.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 313 | fn atoms() { [INFO] [stdout] | ---------- similarly named function `atoms` defined here [INFO] [stdout] ... [INFO] [stdout] 335 | assert_eq!(atom(&b"\"some \\\"escaped\\\" string\""[..]), IResult::Done(&b""[..], [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `atoms` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | fn atom(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::atom`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(atom<&[u8], Type>, [INFO] [stdout] 64 | | alt_complete!(number | [INFO] [stdout] 65 | | keyword => { |v| Type::Keyword(v) } | [INFO] [stdout] 66 | | string => { |v| Type::Str(v) } | [INFO] [stdout] ... | [INFO] [stdout] 73 | | )); [INFO] [stdout] | |__^ `reader::atom`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:335:67 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(atom(&b"\"some \\\"escaped\\\" string\""[..]), IResult::Done(&b""[..], [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 335 - assert_eq!(atom(&b"\"some \\\"escaped\\\" string\""[..]), IResult::Done(&b""[..], [INFO] [stdout] 335 + assert_eq!(atom(&b"\"some \\\"escaped\\\" string\""[..]), Result::Done(&b""[..], [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> src/lib.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | assert_eq!(list(&b"(somesymbol 11 true 1.3 10231 -30 \"some string\")"[..]), [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `list1` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | fn list(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::list`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / named!(list<&[u8], Type>, [INFO] [stdout] 76 | | map!(delimited!( [INFO] [stdout] 77 | | char!('('), [INFO] [stdout] 78 | | many0!(ws!(expression)), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_^ `reader::list`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | IResult::Done(&b""[..], list1.clone())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 351 - IResult::Done(&b""[..], list1.clone())); [INFO] [stdout] 351 + Result::Done(&b""[..], list1.clone())); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> src/lib.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | assert_eq!(list(&b"((somesymbol 11 true 1.3 10231 -30 \"some string\") somesymbol)"[..]), [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `list1` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | fn list(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::list`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / named!(list<&[u8], Type>, [INFO] [stdout] 76 | | map!(delimited!( [INFO] [stdout] 77 | | char!('('), [INFO] [stdout] 78 | | many0!(ws!(expression)), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_^ `reader::list`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | IResult::Done(&b""[..], list2)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 357 - IResult::Done(&b""[..], list2)); [INFO] [stdout] 357 + Result::Done(&b""[..], list2)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vector` in this scope [INFO] [stdout] --> src/lib.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | assert_eq!(vector(&b"[somesymbol 11 true 1.3 10231 -30 \"some string\"]"[..]), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `vector1` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | fn vector(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::vector`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / named!(vector<&[u8], Type>, [INFO] [stdout] 91 | | map!(delimited!( [INFO] [stdout] 92 | | char!('['), [INFO] [stdout] 93 | | many0!(ws!(expression)), [INFO] [stdout] ... | [INFO] [stdout] 102 | | }) [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_^ `reader::vector`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | IResult::Done(&b""[..], vector1.clone())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 372 - IResult::Done(&b""[..], vector1.clone())); [INFO] [stdout] 372 + Result::Done(&b""[..], vector1.clone())); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vector` in this scope [INFO] [stdout] --> src/lib.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | assert_eq!(vector(&b"[[somesymbol 11 true 1.3 10231 -30 \"some string\"] somesymbol]"[..]), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `vector1` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/core.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | fn vector(args: List) -> LispResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `core::vector`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/reader.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / named!(vector<&[u8], Type>, [INFO] [stdout] 91 | | map!(delimited!( [INFO] [stdout] 92 | | char!('['), [INFO] [stdout] 93 | | many0!(ws!(expression)), [INFO] [stdout] ... | [INFO] [stdout] 102 | | }) [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_^ `reader::vector`: not accessible [INFO] [stdout] = note: this error originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IResult` [INFO] [stdout] --> src/lib.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | IResult::Done(&b""[..], vector2)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `IResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 378 - IResult::Done(&b""[..], vector2)); [INFO] [stdout] 378 + Result::Done(&b""[..], vector2)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 311 + use nom::IResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | Rc::new(Type::Symbol("somesymbol".to_owned())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Value`, found `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Value` [INFO] [stdout] found struct `std::rc::Rc` [INFO] [stdout] help: try wrapping the expression in `Value` [INFO] [stdout] | [INFO] [stdout] 342 | Value(Rc::new(Type::Symbol("somesymbol".to_owned()))), [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | Rc::new(list1), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Value`, found `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Value` [INFO] [stdout] found struct `std::rc::Rc` [INFO] [stdout] help: try wrapping the expression in `Value` [INFO] [stdout] | [INFO] [stdout] 353 | Value(Rc::new(list1)), [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | Rc::new(Type::Symbol("somesymbol".to_owned())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Value`, found `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Value` [INFO] [stdout] found struct `std::rc::Rc` [INFO] [stdout] help: try wrapping the expression in `Value` [INFO] [stdout] | [INFO] [stdout] 363 | Value(Rc::new(Type::Symbol("somesymbol".to_owned()))), [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | Rc::new(vector1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Value`, found `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Value` [INFO] [stdout] found struct `std::rc::Rc` [INFO] [stdout] help: try wrapping the expression in `Value` [INFO] [stdout] | [INFO] [stdout] 374 | Value(Rc::new(vector1)), [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `selfish` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "2a0fbdb52e09c07a9e696ce0397766a9762429566cdbddb62a09690d10501a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0fbdb52e09c07a9e696ce0397766a9762429566cdbddb62a09690d10501a5a", kill_on_drop: false }` [INFO] [stdout] 2a0fbdb52e09c07a9e696ce0397766a9762429566cdbddb62a09690d10501a5a