WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[Parity] value of type 'foo' has no member 'bar' #9467

@kcieplak

Description

@kcieplak

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

https://github.com/giginet/swift-testing-revolutionary.git

MacOS

The following package does not build using the 'swiftbuild' backend but does with 'native'

swift build `--buildsystem=swiftbuild` fails to build package

nfo: Discovering Swift tasks after 'Compiling TestMethodNameConverterTests.swift'
warning: overriding deployment version from '16.0' to '26.0'
warning: /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics/spi-workdir/BF0430C1-ECC8-41A0-B259-89F8FDD6A892/swift-testing-revolutionary/Tests/RevolutionKitTests/RunnerTests.swift:6:26 'Runner' is deprecated: Not actually deprecated. Marked as deprecated to allow inclusion of deprecated tests (which test deprecated functionality) without warnings
error: /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics/spi-workdir/BF0430C1-ECC8-41A0-B259-89F8FDD6A892/swift-testing-revolutionary/Tests/RevolutionKitTests/RunnerTests.swift:11:36 value of type 'Runner' has no member 'run'
info: <unknown>:0: warning: overriding deployment version from '16.0' to '26.0'
/private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics/spi-workdir/BF0430C1-ECC8-41A0-B259-89F8FDD6A892/swift-testing-revolutionary/Tests/RevolutionKitTests/RunnerTests.swift:6:26: warning: 'Runner' is deprecated: Not actually deprecated. Marked as deprecated to allow inclusion of deprecated tests (which test deprecated functionality) without warnings
    private let runner = Runner()
                         ^
/private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics/spi-workdir/BF0430C1-ECC8-41A0-B259-89F8FDD6A892/swift-testing-revolutionary/Tests/RevolutionKitTests/RunnerTests.swift:11:36: error: value of type 'Runner' has no member 'run'
        let converted = try runner.run(for: source, emitter: StringEmitter())
                            ~~~~~~ ^~~

Expected behaviour

Builds

Actual behavior

Fails to build

Steps to reproduce

git clone https://github.com/giginet/swift-testing-revolutionary.git
swift build --build-system=swiftbuild

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version ; uname -a)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions